Find a file
James Lin c02b805cdc Give _runFlutterTest the ability to validate command output
In another change (#37646), I want to test that a test fails and
prints expected output.  I didn't see an existing way to do that, so
I modified `_runFlutterTest` and `runCommand` to allow capturing the
output.  Currently capturing and printing output are mutually
exclusive since we don't need both.

Some awkward bits:
* There already exists a `runAndGetStdout` function that is very
  similar to `runCommand`, and this change makes the conceptual
  distinction more confusing.

* `runFlutterTest` has multiple code paths for different
  configurations.  I don't understand what the different paths are
  for, and I added output checking only along one of them.
2019-08-15 16:47:20 -07:00
.github Updating dart.dev related links (#32641) 2019-05-14 10:35:00 -07:00
bin roll back engine to f8e7453f11067b5801a4484283592977d18be242 (#38658) 2019-08-15 15:58:48 -07:00
dev Give _runFlutterTest the ability to validate command output 2019-08-15 16:47:20 -07:00
examples Analyzer fix that wasn't caught in the PR originally (#38348) 2019-08-12 17:55:27 -04:00
packages Support for macOS release mode (1 of 3) (#37425) 2019-08-15 16:36:45 -07:00
.cirrus.yml Fix up iOS Add to App tests (#38603) 2019-08-14 23:01:17 -07:00
.codecov.yml dont require diffs to have a percentage coverage greater than the previous diff (#36090) 2019-07-12 15:10:41 -07:00
.gitattributes Add git config option to automatically convert CRLF to LF (#8122) 2017-02-14 10:21:33 -08:00
.gitignore Add flutter_export_environment.sh to the framework tree gitignore (#37811) 2019-08-07 17:59:20 -07:00
analysis_options.yaml enable lint prefer_if_null_operators (#35745) 2019-07-09 10:53:35 +02:00
AUTHORS added scrimColor property in Scaffold widget (#31025) 2019-05-01 14:50:52 -07:00
CODE_OF_CONDUCT.md Fix spelling typo (#25514) 2019-01-03 15:51:45 -05:00
CODEOWNERS Updating code owners for golden file changes (#38564) 2019-08-15 09:13:45 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md (#38491) 2019-08-15 00:07:49 -07:00
dartdoc_options.yaml Remove snippets snapshotting hack from dartdoc generation. (#24812) 2018-11-27 22:31:49 -08:00
flutter_console.bat Replace flutter.io with flutter.dev (#30562) 2019-04-05 11:39:30 -07:00
LICENSE Wrap lines at 80 characters (#26285) 2019-01-29 16:13:27 +01:00
PATENTS Add a file describing Google's commitments with regard to patents and this project (#8632) 2017-03-08 16:40:36 -08:00
README.md Updating dart.dev related links (#32641) 2019-05-14 10:35:00 -07:00

Flutter logo

Build Status - Cirrus Gitter Channel

Flutter is Google's mobile app SDK for crafting high-quality native interfaces on iOS and Android in record time. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.

Documentation

For announcements about new releases and breaking changes, follow the flutter-announce@googlegroups.com mailing list.

About Flutter

We think Flutter will help you create beautiful, fast apps, with a productive, extensible and open development model.

Beautiful apps

We want to enable designers to deliver their full creative vision without being forced to water it down due to limitations of the underlying framework. Flutter's layered architecture gives you control over every pixel on the screen, and its powerful compositing capabilities let you overlay and animate graphics, video, text and controls without limitation. Flutter includes a full set of widgets that deliver pixel-perfect experiences on both iOS and Android.

Reflectly hero image

Fast apps

Flutter is fast. It's powered by the same hardware-accelerated Skia 2D graphics library that underpins Chrome and Android. We architected Flutter to support glitch-free, jank-free graphics at the native speed of your device. Flutter code is powered by the world-class Dart platform, which enables compilation to native 32-bit and 64-bit ARM code for iOS and Android.

Productive development

Flutter offers stateful hot reload, allowing you to make changes to your code and see the results instantly without restarting your app or losing its state.

Hot reload animation

Extensible and open model

Flutter works with any development tool, but includes editor plug-ins for both Visual Studio Code and IntelliJ / Android Studio. Flutter provides thousands of packages to speed your development, regardless of your target platform. And accessing platform features is easy. Here is a snippet from our interop example:

Future<void> getBatteryLevel() async {
  var batteryLevel = 'unknown';
  try {
    int result = await methodChannel.invokeMethod('getBatteryLevel');
    batteryLevel = 'Battery level: $result%';
  } on PlatformException {
    batteryLevel = 'Failed to get battery level.';
  }
  setState(() {
    _batteryLevel = batteryLevel;
  });
}

Flutter is a fully open source project, and we welcome contributions. Information on how to get started can be found at our contributor guide.