Flutter makes it easy and fast to build beautiful apps for mobile and beyond
Go to file
engine-flutter-autoroll 3ba97da9f5
85492c3e8 Roll src/third_party/dart 71bee8f05e..3e5ed47777 (83 commits) 3e5ed47777 Implement 'completion.getSuggestionDetails'. 38aadd71df Rework DecoratedType substitution. 087c6e3eb7 Add associatedErrorCodes API to AssistKind 8a45b5eb57 Move environment handling into the front-end constant evaluator. 8010fad320 [infra] Fix incorrect shell function syntax 1bfc3816d8 [infra] Extend 3head patching to apply patches for flutter/flutter depending on pinned engine commit e4b809f0e6 Add unit testing of (some) invoke dynamic specializers 0fd1679620 Sort named parameters in native methods by declaration. 8c891ec25e Include type parameters into suggested code completions. 2efd22271e Use included suggestions only when free standing identifiers are allowed. 0d075031fa allow custom analysis options in lint driving f89acfa374 Issue 35621. Part files should use their own transitive signatures. 133d83eede Protect against override completion outside workspace. 849285276d Extract and migrate ElementLocator tests. d45a6ec893 Split Variables class into two interface classes and create DecoratedType.forElement constructor. b9c89c9fb5 More test cases for the migration prototype. a6e7361fa8 Add documentation comments to the migration prototype. 67ff7a6ef3 Remove unused import 53ba159aa4 Add assists to convert to list, map and set literals a9c84ab887 Verify nullability of dynamic in DecoratedType constructor. eaeffd2695 Rename ConstraintsTest to match the class it's testing af303a277c Add some assists for the code-as-ui features c4dcd85b3a Tests for control flow collections. fe585471e3 Add DartFileEditBuilder.importLibraryElement(). 460d69d08f Update 'Convert to StatefulWidget' to create private State classes. 509ac0648c Update non-nullability migration algorithm to handle missing types b01697ba5a [vm/compiler] Continued graph checker development 00c6f6b584 Document InheritanceManager deprecations. 3802a6d7eb Experimental prototype of a non-nullability migration algorithm. 931051814c Partial implementation of the 'available suggestion sets' protocol. 1c173c2ce7 Enhance dartfix to allow including and excluding specific fixes 971733a08b [kernel] Add a class to track variance of type parameters 967b5fbac3 Finish implementing IsFunctionSubtypeOf 0d7bdd734a Ensure that top types are equivalent. d44724d0af Compute default type arguments in Fasta types. d55f95e344 Add Types.isSameTypeKernel 7fa0376af7 Implement subtype rules for Null in Fasta types d9072d5272 Re-issue all problems in the incremental compiler b6dc18e21e Remove legacyMode parameter and delete obsolete version of test 33f167b039 Complete the implemention of IsInterfaceSubtypeOf. 534825020a Check intersection types in subtype tests ea0d98d98a Check FutureOr in subtype tests 014124e763 (Some) DiagnosticMessages can be serialized to/from json. eb956a2516 Add synthetic bit to Library flags e9597684fe Fix for incremental compiler swallowing certain errors 68d110ac2a Add test for codegen of optional parameters on native functions. 5737b452b8 [vm/gc] Update initial TLAB size calculation. 37a1f79360 [dart2js] Move letBindings to StackFrame ec343169e7 Skip the spread tests on platforms that aren't using the new test workflow. 598515f031 [vm/compiler] Fix another missing incremental DOM update d6f9d2da6f Add pkg/analysis_server/pubspec.yaml so that it is identified as a pub package. 9f8a9dc9f4 First stab at tests for "Spread Collections". 2c25cf016d [vm, gc] Use work stealing for the slices of the root set. 9308cac681 [vm] Simplify VirtualMemory::Truncate e717ecdc92 [vm] Maintain view-ness of bytecode instructions in snapshots. d4b8e0696d Add the capability in analysis server protocol for clients to express interest in receiving not yet imported code completions from specific packages and libraries. 7a95930bee Add a "summary-deps-output" option to build mode. aaf97448b0 Extract EnumListParameter values before checking for matches 20fc81470e Fix override_on_non_overriding_method hint ca4978e363 Add pkg:analysis_tool as an SDK-only set of utils e5164be27e Issue 35127. Fixes for mixin implements / overrides. fdd477721d [infra] Run co19_2 tests on DDC Linux and Windows builders c31627b778 Remove the unused TypeOverrideManager 485a41bb12 Include superclass constraints into mixin type suggestions. 8f12035f36 Clean up the diagnostic tests 14b2255584 Status update after c3c5250 c3c525079b Demonstrate bug for the VMs way of doing initializers in face of mixins d6608f19c0 Check function types in subtype tests a6a9d4854b Start checking type arguments in subtype tests dd70ecd5c0 Substitute type variables when computing class hierarchy 85c5082cf4 Support Kernel classes in ClassHierarchyBuilder 18ff842341 Start testing Fasta types implementation db44a727e5 Extend the edit.dartfix protocol 40fca03d07 [vm/compiler] fix assert failure on minint64 6c96d8fdaf Fix crashing analysis_server with some defensive null checks 3b5c1012e9 Update CodeChecker to handle the code-as-ui features b8fc017778 Replace convertAbsolutePathToUri() with toUriStr(). f903ee6dc0 Don't crash on formal parameters without name, exclude private SDK lbiraries. 118bdcc1f6 backlink to language docs for customized analysis bc2a5a6789 Generate some of the code-as-ui diagnostics; implement more resolution e8a0a209e3 Include into Declaration data that we will need for pre-cached suggestions. 0bb1aee3ff AstBuilder cleanup ec13e61df3 Move question getter from GenericFunctionType and NamedType to their common base class. (#27514)
74839e207b...85492c3e80

git log 74839e207b482e7a47eae8af73ffa1e23f8e8355..85492c3e804a6f6bf06275ed49c103ac6548be87 --no-merges --oneline
85492c3e8 Roll src/third_party/dart 71bee8f05e..3e5ed47777 (83 commits) 3e5ed47777 Implement 'completion.getSuggestionDetails'. 38aadd71df Rework DecoratedType substitution. 087c6e3eb7 Add associatedErrorCodes API to AssistKind 8a45b5eb57 Move environment handling into the front-end constant evaluator. 8010fad320 [infra] Fix incorrect shell function syntax 1bfc3816d8 [infra] Extend 3head patching to apply patches for flutter/flutter depending on pinned engine commit e4b809f0e6 Add unit testing of (some) invoke dynamic specializers 0fd1679620 Sort named parameters in native methods by declaration. 8c891ec25e Include type parameters into suggested code completions. 2efd22271e Use included suggestions only when free standing identifiers are allowed. 0d075031fa allow custom analysis options in lint driving f89acfa374 Issue 35621. Part files should use their own transitive signatures. 133d83eede Protect against override completion outside workspace. 849285276d Extract and migrate ElementLocator tests. d45a6ec893 Split Variables class into two interface classes and create DecoratedType.forElement constructor. b9c89c9fb5 More test cases for the migration prototype. a6e7361fa8 Add documentation comments to the migration prototype. 67ff7a6ef3 Remove unused import 53ba159aa4 Add assists to convert to list, map and set literals a9c84ab887 Verify nullability of dynamic in DecoratedType constructor. eaeffd2695 Rename ConstraintsTest to match the class it's testing af303a277c Add some assists for the code-as-ui features c4dcd85b3a Tests for control flow collections. fe585471e3 Add DartFileEditBuilder.importLibraryElement(). 460d69d08f Update 'Convert to StatefulWidget' to create private State classes. 509ac0648c Update non-nullability migration algorithm to handle missing types b01697ba5a [vm/compiler] Continued graph checker development 00c6f6b584 Document InheritanceManager deprecations. 3802a6d7eb Experimental prototype of a non-nullability migration algorithm. 931051814c Partial implementation of the 'available suggestion sets' protocol. 1c173c2ce7 Enhance dartfix to allow including and excluding specific fixes 971733a08b [kernel] Add a class to track variance of type parameters 967b5fbac3 Finish implementing IsFunctionSubtypeOf 0d7bdd734a Ensure that top types are equivalent. d44724d0af Compute default type arguments in Fasta types. d55f95e344 Add Types.isSameTypeKernel 7fa0376af7 Implement subtype rules for Null in Fasta types d9072d5272 Re-issue all problems in the incremental compiler b6dc18e21e Remove legacyMode parameter and delete obsolete version of test 33f167b039 Complete the implemention of IsInterfaceSubtypeOf. 534825020a Check intersection types in subtype tests ea0d98d98a Check FutureOr in subtype tests 014124e763 (Some) DiagnosticMessages can be serialized to/from json. eb956a2516 Add synthetic bit to Library flags e9597684fe Fix for incremental compiler swallowing certain errors 68d110ac2a Add test for codegen of optional parameters on native functions. 5737b452b8 [vm/gc] Update initial TLAB size calculation. 37a1f79360 [dart2js] Move letBindings to StackFrame ec343169e7 Skip the spread tests on platforms that aren't using the new test workflow. 598515f031 [vm/compiler] Fix another missing incremental DOM update d6f9d2da6f Add pkg/analysis_server/pubspec.yaml so that it is identified as a pub package. 9f8a9dc9f4 First stab at tests for "Spread Collections". 2c25cf016d [vm, gc] Use work stealing for the slices of the root set. 9308cac681 [vm] Simplify VirtualMemory::Truncate e717ecdc92 [vm] Maintain view-ness of bytecode instructions in snapshots. d4b8e0696d Add the capability in analysis server protocol for clients to express interest in receiving not yet imported code completions from specific packages and libraries. 7a95930bee Add a "summary-deps-output" option to build mode. aaf97448b0 Extract EnumListParameter values before checking for matches 20fc81470e Fix override_on_non_overriding_method hint ca4978e363 Add pkg:analysis_tool as an SDK-only set of utils e5164be27e Issue 35127. Fixes for mixin implements / overrides. fdd477721d [infra] Run co19_2 tests on DDC Linux and Windows builders c31627b778 Remove the unused TypeOverrideManager 485a41bb12 Include superclass constraints into mixin type suggestions. 8f12035f36 Clean up the diagnostic tests 14b2255584 Status update after c3c5250 c3c525079b Demonstrate bug for the VMs way of doing initializers in face of mixins d6608f19c0 Check function types in subtype tests a6a9d4854b Start checking type arguments in subtype tests dd70ecd5c0 Substitute type variables when computing class hierarchy 85c5082cf4 Support Kernel classes in ClassHierarchyBuilder 18ff842341 Start testing Fasta types implementation db44a727e5 Extend the edit.dartfix protocol 40fca03d07 [vm/compiler] fix assert failure on minint64 6c96d8fdaf Fix crashing analysis_server with some defensive null checks 3b5c1012e9 Update CodeChecker to handle the code-as-ui features b8fc017778 Replace convertAbsolutePathToUri() with toUriStr(). f903ee6dc0 Don't crash on formal parameters without name, exclude private SDK lbiraries. 118bdcc1f6 backlink to language docs for customized analysis bc2a5a6789 Generate some of the code-as-ui diagnostics; implement more resolution e8a0a209e3 Include into Declaration data that we will need for pre-cached suggestions. 0bb1aee3ff AstBuilder cleanup ec13e61df3 Move `question` getter from GenericFunctionType and NamedType to their common base class.

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (dnfield@google.com), and stop
the roller if necessary.
2019-02-04 19:20:28 -05:00
.github Remove the cc @Hixie from no-response template (#26153) 2019-01-08 10:56:39 -08:00
bin 85492c3e8 Roll src/third_party/dart 71bee8f05e..3e5ed47777 (83 commits) 3e5ed47777 Implement 'completion.getSuggestionDetails'. 38aadd71df Rework DecoratedType substitution. 087c6e3eb7 Add associatedErrorCodes API to AssistKind 8a45b5eb57 Move environment handling into the front-end constant evaluator. 8010fad320 [infra] Fix incorrect shell function syntax 1bfc3816d8 [infra] Extend 3head patching to apply patches for flutter/flutter depending on pinned engine commit e4b809f0e6 Add unit testing of (some) invoke dynamic specializers 0fd1679620 Sort named parameters in native methods by declaration. 8c891ec25e Include type parameters into suggested code completions. 2efd22271e Use included suggestions only when free standing identifiers are allowed. 0d075031fa allow custom analysis options in lint driving f89acfa374 Issue 35621. Part files should use their own transitive signatures. 133d83eede Protect against override completion outside workspace. 849285276d Extract and migrate ElementLocator tests. d45a6ec893 Split Variables class into two interface classes and create DecoratedType.forElement constructor. b9c89c9fb5 More test cases for the migration prototype. a6e7361fa8 Add documentation comments to the migration prototype. 67ff7a6ef3 Remove unused import 53ba159aa4 Add assists to convert to list, map and set literals a9c84ab887 Verify nullability of dynamic in DecoratedType constructor. eaeffd2695 Rename ConstraintsTest to match the class it's testing af303a277c Add some assists for the code-as-ui features c4dcd85b3a Tests for control flow collections. fe585471e3 Add DartFileEditBuilder.importLibraryElement(). 460d69d08f Update 'Convert to StatefulWidget' to create private State classes. 509ac0648c Update non-nullability migration algorithm to handle missing types b01697ba5a [vm/compiler] Continued graph checker development 00c6f6b584 Document InheritanceManager deprecations. 3802a6d7eb Experimental prototype of a non-nullability migration algorithm. 931051814c Partial implementation of the 'available suggestion sets' protocol. 1c173c2ce7 Enhance dartfix to allow including and excluding specific fixes 971733a08b [kernel] Add a class to track variance of type parameters 967b5fbac3 Finish implementing IsFunctionSubtypeOf 0d7bdd734a Ensure that top types are equivalent. d44724d0af Compute default type arguments in Fasta types. d55f95e344 Add Types.isSameTypeKernel 7fa0376af7 Implement subtype rules for Null in Fasta types d9072d5272 Re-issue all problems in the incremental compiler b6dc18e21e Remove legacyMode parameter and delete obsolete version of test 33f167b039 Complete the implemention of IsInterfaceSubtypeOf. 534825020a Check intersection types in subtype tests ea0d98d98a Check FutureOr in subtype tests 014124e763 (Some) DiagnosticMessages can be serialized to/from json. eb956a2516 Add synthetic bit to Library flags e9597684fe Fix for incremental compiler swallowing certain errors 68d110ac2a Add test for codegen of optional parameters on native functions. 5737b452b8 [vm/gc] Update initial TLAB size calculation. 37a1f79360 [dart2js] Move letBindings to StackFrame ec343169e7 Skip the spread tests on platforms that aren't using the new test workflow. 598515f031 [vm/compiler] Fix another missing incremental DOM update d6f9d2da6f Add pkg/analysis_server/pubspec.yaml so that it is identified as a pub package. 9f8a9dc9f4 First stab at tests for "Spread Collections". 2c25cf016d [vm, gc] Use work stealing for the slices of the root set. 9308cac681 [vm] Simplify VirtualMemory::Truncate e717ecdc92 [vm] Maintain view-ness of bytecode instructions in snapshots. d4b8e0696d Add the capability in analysis server protocol for clients to express interest in receiving not yet imported code completions from specific packages and libraries. 7a95930bee Add a "summary-deps-output" option to build mode. aaf97448b0 Extract EnumListParameter values before checking for matches 20fc81470e Fix override_on_non_overriding_method hint ca4978e363 Add pkg:analysis_tool as an SDK-only set of utils e5164be27e Issue 35127. Fixes for mixin implements / overrides. fdd477721d [infra] Run co19_2 tests on DDC Linux and Windows builders c31627b778 Remove the unused TypeOverrideManager 485a41bb12 Include superclass constraints into mixin type suggestions. 8f12035f36 Clean up the diagnostic tests 14b2255584 Status update after c3c5250 c3c525079b Demonstrate bug for the VMs way of doing initializers in face of mixins d6608f19c0 Check function types in subtype tests a6a9d4854b Start checking type arguments in subtype tests dd70ecd5c0 Substitute type variables when computing class hierarchy 85c5082cf4 Support Kernel classes in ClassHierarchyBuilder 18ff842341 Start testing Fasta types implementation db44a727e5 Extend the edit.dartfix protocol 40fca03d07 [vm/compiler] fix assert failure on minint64 6c96d8fdaf Fix crashing analysis_server with some defensive null checks 3b5c1012e9 Update CodeChecker to handle the code-as-ui features b8fc017778 Replace convertAbsolutePathToUri() with toUriStr(). f903ee6dc0 Don't crash on formal parameters without name, exclude private SDK lbiraries. 118bdcc1f6 backlink to language docs for customized analysis bc2a5a6789 Generate some of the code-as-ui diagnostics; implement more resolution e8a0a209e3 Include into Declaration data that we will need for pre-cached suggestions. 0bb1aee3ff AstBuilder cleanup ec13e61df3 Move question getter from GenericFunctionType and NamedType to their common base class. (#27514) 2019-02-04 19:20:28 -05:00
dev Update dartdoc to 0.28.1+1 and add parameters for source-code linking (#27511) 2019-02-04 14:40:22 -08:00
examples Ensure Shrine app respects the platform toggle from Gallery options (#27400) 2019-02-01 14:13:14 -05:00
packages [H] Tabs (#27477) 2019-02-04 15:11:07 -08:00
.cirrus.yml Re-enable compute credites for macOS PRs only. (#26403) 2019-01-11 07:52:09 -08:00
.gitattributes Add git config option to automatically convert CRLF to LF (#8122) 2017-02-14 10:21:33 -08:00
.gitignore Added key.properties and *.jks to .gitignore to prevent sensitive commits (#25413) 2019-01-15 02:51:17 -08:00
analysis_options.yaml Revert "move analysis_options to package" (#26436) 2019-01-11 13:38:02 -08:00
AUTHORS Add reverse functionality to repeat() of AnimationController (#25125) 2019-01-24 09:30:45 -08:00
CODE_OF_CONDUCT.md Fix spelling typo (#25514) 2019-01-03 15:51:45 -05:00
CONTRIBUTING.md Reorganize contributor documentation (#23963) 2018-11-06 13:41:09 -08:00
dartdoc_options.yaml Remove snippets snapshotting hack from dartdoc generation. (#24812) 2018-11-27 22:31:49 -08:00
flutter_console.bat Remove color command from flutter_console.bat (#23880) 2018-11-02 14:23:59 -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 Use site-shared as canonical source for Flutter logo (#26967) 2019-01-23 21:54:15 -05:00

Flutter Flutter logo

Gitter Channel Build Status - Cirrus

Build beautiful native apps in record time

Flutter is Googles 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

Main site: flutter.io

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

Fast development

Flutter's hot reload helps you quickly and easily experiment, build UIs, add features, and fix bugs. Experience sub-second reload times, without losing state, on emulators, simulators, and hardware for iOS and Android.

Make a change in your code, and your app changes instantly.

Expressive and flexible UI

Quickly ship features with a focus on native end-user experiences. Layered architecture allows full customization, which results in incredibly fast rendering and expressive and flexible designs.

Delight your users with Flutter's built-in beautiful Material Design and Cupertino (iOS-flavor) widgets, rich motion APIs, smooth natural scrolling, and platform awareness.

Brand-first shopping design Fitness app design

Contact app design iOS chat app design

Browse the widget catalog.

Modern, reactive framework

Easily compose your UI with Flutter's modern functional-reactive framework and rich set of platform, layout, and foundation widgets. Solve your tough UI challenges with powerful and flexible APIs for 2D, animation, gestures, effects, and more.

class CounterState extends State<Counter> {
  int counter = 0;

  void increment() {
    // Tells the Flutter framework that state has changed,
    // so the framework can run build() and update the display.
    setState(() {
      counter++;
    });
  }

  Widget build(BuildContext context) {
    // This method is rerun every time setState is called.
    // The Flutter framework has been optimized to make rerunning
    // build methods fast, so that you can just rebuild anything that
    // needs updating rather than having to individually change
    // instances of widgets.
    return Row(
      children: <Widget>[
        RaisedButton(
          onPressed: increment,
          child: Text('Increment'),
        ),
        Text('Count: $counter'),
      ],
    );
  }
}

Browse the widget catalog and learn more about the functional-reactive framework.

Access native features and SDKs

Make your app come to life with platform APIs, 3rd party SDKs, and native code. Flutter lets you reuse your existing Java/Kotlin and ObjC/Swift code, and access native features and SDKs on Android and iOS.

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;
  });
}

Learn how to use packages or write platform channels to access native code, APIs, and SDKs.

Unified app development

Flutter has the tools and libraries to help you easily bring your ideas to life on iOS and Android. If you don't have any mobile development experience, Flutter is an easy and fast way to build beautiful mobile apps. If you are an experienced iOS or Android developer, you can use Flutter for your views and leverage much of your existing Java/Kotlin/ObjC/Swift investment.

Learn more about what makes Flutter special in the technical overview.

More resources

Join us in our Gitter chat room or join our public mailing list, flutter-dev@googlegroups.com.

How to contribute

To join the team working on Flutter, see our contributor guide.