| commit | 4f3fadb6f0cad804ebeda1be6a83d3c0f0f430e4 | [log] [tgz] |
|---|---|---|
| author | Ben Konyi <bkonyi@google.com> | Thu May 31 07:40:44 2018 -0700 |
| committer | Zachary Anderson <zanderso@users.noreply.github.com> | Thu May 31 07:40:44 2018 -0700 |
| tree | 15b9bd1fce88841580592b6082cfeae740a5b4d2 | |
| parent | 758711c85dd1fd704c3483b666f0d1ffac8ebc72 [diff] |
Dart SDK roll for 2018-05-30 (#18043) * Pre-Dart SDK roll engine revision * Dart SDK engine roll for 2018-05-30. Commits: 3b6caa3517b Split UnresolvedNameGenerator f50873d3451 [fuchsia] Renaming component FIDL to fuchsia.sys. 13987b073d6 Add Forest method to access the name of a variable declaration 3b86f823d0a [vm/corelib] Remove GrowableArrayMarker hack. 88127f10e4f Clean up num#toStringAsPrecision docs 1eb1885c62d tools/addlatexhash.dart: Remove unused import 03cb46a2290 [vm/perf] Fix JITDUMP integration. 9d9eff44c99 Support sharing function signatures in deferred parts for fast startup ae9f5d2a1b1 Add Forest API for logical expressions 66c590d3ad3 Add json/utf8 BOM support in changelog. d116e62d76d Improve catch parameter recovery aa8e2ee178d Revert "[vm] Add tests for determinism of script and AppJIT snapshots." ec47e524bc9 Switch to non-alpha versions for analyzer/front_end/kernel. aac0478fada [vm] Add tests for determinism of script and AppJIT snapshots. 6cc7aa803a1 Change names/declarations tasks in AnalysisDriver sync. c30af41b96c Reapply "[mirrors] Add IsolateMirror.loadUri." a40993a6aff Observatory strong mode fix: Fix incorrect types in DebuggerStackElement. 0fdfc9aa3b6 Observatory strong mode fix: Add a needed implements clause. 209029ab8ee Observatory strong mode fix: Pass through a type parameter in the implements clause for GuardedMock. 1d323687b39 Use selection to decide whether EXTRACT_LOCAL_VARIABLE and EXTRACT_METHOD are available.
A new mobile app SDK to help developers and designers build modern mobile apps for iOS and Android. Flutter is an open-source project currently in beta.
Flutter's hot reload helps you quickly and easily experiment, build UIs, add features, and fix bugs faster. Experience sub-second reload times, without losing state, on emulators, simulators, and hardware for iOS and Android.
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.
Browse the widget catalog.
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 new Row( children: <Widget>[ new RaisedButton( onPressed: increment, child: new Text('Increment'), ), new Text('Count: $counter'), ], ); } }
Browse the widget catalog and learn more about the functional-reactive framework.
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<Null> 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.
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.
Join us in our Gitter chat room or join our public mailing list, flutter-dev@googlegroups.com.