commit | f8b07e230a6846319b4056b5e14d74f05f8008b0 | [log] [tgz] |
---|---|---|
author | stuartmorgan <stuartmorgan@google.com> | Thu May 16 15:00:05 2019 |
committer | GitHub <noreply@github.com> | Thu May 16 15:00:05 2019 |
tree | 6262680fac7523c270272803c04566c1bbf5a8f4 | |
parent | 45f743a14fc5a1c6e007a701fdcd9a7ff54deba0 [diff] |
Change the way macOS app names are located (#32706) Instead of requiring a name_output.sh, expect a file called .app_filename in the macos/Flutter directory containing just the name of the application. The expectation is that the Xcode build will create that file with a script. This is not intended as a long-term solution, but it's a substantial improvement over name_output.sh: - name_output.sh required constructing the full build output path; this made sense when it was coupled with build.sh, but now that the decision for where build output goes lives in flutter_tool, that logic should as well. - Changing the name of the application required also updating name_output.sh, which is error-prone. With .app_filename, it can be created using $PRODUCT_NAME, which means that the usual way of setting the application name will automatically update this flow as well. Part of #30706
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.
For announcements about new releases and breaking changes, follow the flutter-announce@googlegroups.com mailing list.
We think Flutter will help you create beautiful, fast apps, with a productive, extensible and open development model.
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.
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.
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.
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.