Find a file
stuartmorgan 0412977e48
Support create for macOS (app and plugin) (#40851)
Adds macOS support for `flutter create`:
- Currently it is behind a hidden flag.
- Adds a TargetPlatform workaround to lib/main.dart in the standard app template when enabled.
- Supports `app` and `plugin`; `module` support doesn't yet exist for macOS in general.

This will eliminate the need to use FDE's examples as templates on macOS. The templates are based on the current state of FDE's examples, with templating support added (and with adoption of the new application delegate in the app, which hadn't been done yet in FDE, eliminating some boilerplate from the template).

Fixes #30703
2019-09-19 17:06:18 -07:00
.github Updating dart.dev related links (#32641) 2019-05-14 10:35:00 -07:00
bin 1cada0a6d Roll src/third_party/skia 6344cbd1df76..18531cde2ab7 (2 commits) (flutter/engine#12358) (#40842) 2019-09-19 07:29:41 -04:00
dev Revert "Reland: implement build bundle with assemble (#40470)" (#40862) 2019-09-19 09:04:07 -07:00
examples add missing trailing commas (in examples/) (#40701) 2019-09-18 20:48:07 +02:00
packages Support create for macOS (app and plugin) (#40851) 2019-09-19 17:06:18 -07:00
.cirrus.yml fix skips to include all channels (#40119) 2019-09-10 07:44:35 -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 Set DEFINES_MODULE for FlutterPluginRegistrant to generate modulemap (#40302) 2019-09-13 11:03:46 -07:00
analysis_options.yaml more UI-as-code (#35516) 2019-09-17 16:23:44 +02:00
AUTHORS Adds relayout option to CustomMultiChildLayout. (#39252) 2019-09-16 09:22:59 -07:00
CODE_OF_CONDUCT.md Mention conduct@flutter.dev (#39150) 2019-08-25 10:46:02 -07:00
CODEOWNERS Updating code owners for golden file changes (#38564) 2019-08-15 09:13:45 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md (#37645) 2019-08-20 14:44:01 -07:00
dartdoc_options.yaml Adds DartPad option to the DartDoc snippet generator. (#39924) 2019-09-10 08:36:14 -07: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
PATENT_GRANT Rename patent file (#38686) 2019-08-16 16:54:58 +01: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.