2022-06-02 09:04:44 +00:00
|
|
|
<a href="https://flutter.dev/">
|
|
|
|
<h1 align="center">
|
|
|
|
<picture>
|
|
|
|
<source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/cms-storage-bucket/6e19fee6b47b36ca613f.png">
|
|
|
|
<img alt="Flutter" src="https://storage.googleapis.com/cms-storage-bucket/c823e53b3a1a7b0d36a9.png">
|
|
|
|
</picture>
|
|
|
|
</h1>
|
|
|
|
</a>
|
2019-01-24 02:54:15 +00:00
|
|
|
|
|
|
|
[![Build Status - Cirrus][]][Build status]
|
2021-02-12 07:27:41 +00:00
|
|
|
[![Discord badge][]][Discord instructions]
|
2019-11-21 00:15:58 +00:00
|
|
|
[![Twitter handle][]][Twitter badge]
|
2022-10-07 23:42:12 +00:00
|
|
|
[![codecov](https://codecov.io/gh/flutter/flutter/branch/master/graph/badge.svg?token=11yDrJU2M2)](https://codecov.io/gh/flutter/flutter)
|
2022-03-22 02:38:39 +00:00
|
|
|
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/5631/badge)](https://bestpractices.coreinfrastructure.org/projects/5631)
|
2023-01-23 21:27:13 +00:00
|
|
|
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/flutter/flutter/badge)](https://deps.dev/project/github/flutter%2Fflutter)
|
2023-05-03 20:01:34 +00:00
|
|
|
[![SLSA 1](https://slsa.dev/images/gh-badge-level1.svg)](https://slsa.dev)
|
2018-08-27 09:11:14 +00:00
|
|
|
|
2019-10-29 22:57:14 +00:00
|
|
|
Flutter is Google's SDK for crafting beautiful, fast user experiences for
|
2020-07-23 01:23:47 +00:00
|
|
|
mobile, web, and desktop from a single codebase. Flutter works with existing
|
2022-01-26 21:45:12 +00:00
|
|
|
code, is used by developers and organizations around the world, and is free and
|
|
|
|
open source.
|
2015-10-30 18:16:58 +00:00
|
|
|
|
2019-04-09 01:02:09 +00:00
|
|
|
## Documentation
|
2015-10-30 18:16:58 +00:00
|
|
|
|
2019-04-09 01:02:09 +00:00
|
|
|
* [Install Flutter](https://flutter.dev/get-started/)
|
2022-07-21 21:22:07 +00:00
|
|
|
* [Flutter documentation](https://docs.flutter.dev/)
|
2019-04-09 01:02:09 +00:00
|
|
|
* [Development wiki](https://github.com/flutter/flutter/wiki)
|
|
|
|
* [Contributing to Flutter](https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md)
|
2018-11-06 21:41:09 +00:00
|
|
|
|
2022-01-26 21:45:12 +00:00
|
|
|
For announcements about new releases, follow the
|
2018-11-06 21:41:09 +00:00
|
|
|
[flutter-announce@googlegroups.com](https://groups.google.com/forum/#!forum/flutter-announce)
|
2022-01-26 21:45:12 +00:00
|
|
|
mailing list. Our documentation also tracks [breaking
|
2022-07-21 21:22:07 +00:00
|
|
|
changes](https://docs.flutter.dev/release/breaking-changes) across releases.
|
2015-11-09 05:33:00 +00:00
|
|
|
|
2021-09-14 20:02:04 +00:00
|
|
|
## Terms of service
|
|
|
|
|
2022-01-26 21:45:12 +00:00
|
|
|
The Flutter tool may occasionally download resources from Google servers. By
|
2022-07-21 21:22:07 +00:00
|
|
|
downloading or using the Flutter SDK, you agree to the Google Terms of Service:
|
2022-01-26 21:45:12 +00:00
|
|
|
https://policies.google.com/terms
|
2021-09-14 20:02:04 +00:00
|
|
|
|
2022-01-26 21:45:12 +00:00
|
|
|
For example, when installed from GitHub (as opposed to from a prepackaged
|
|
|
|
archive), the Flutter tool will download the Dart SDK from Google servers
|
|
|
|
immediately when first run, as it is used to execute the `flutter` tool itself.
|
|
|
|
This will also occur when Flutter is upgraded (e.g. by running the `flutter
|
|
|
|
upgrade` command).
|
2021-09-14 20:02:04 +00:00
|
|
|
|
2019-04-09 01:02:09 +00:00
|
|
|
## About Flutter
|
2015-10-30 18:16:58 +00:00
|
|
|
|
2019-04-09 01:02:09 +00:00
|
|
|
We think Flutter will help you create beautiful, fast apps, with a productive,
|
2022-01-26 21:45:12 +00:00
|
|
|
extensible and open development model, whether you're targeting iOS or Android,
|
|
|
|
web, Windows, macOS, Linux or embedding it as the UI toolkit for a platform of
|
|
|
|
your choice.
|
2017-07-12 17:12:25 +00:00
|
|
|
|
2019-10-29 22:57:14 +00:00
|
|
|
### Beautiful user experiences
|
2018-08-27 09:11:14 +00:00
|
|
|
|
2019-04-09 01:02:09 +00:00
|
|
|
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
|
2020-07-23 01:23:47 +00:00
|
|
|
screen and its powerful compositing capabilities let you overlay and animate
|
|
|
|
graphics, video, text, and controls without limitation. Flutter includes a full
|
2022-01-26 21:45:12 +00:00
|
|
|
[set of widgets][widget catalog] that deliver pixel-perfect experiences whether
|
2022-09-12 17:46:05 +00:00
|
|
|
you're building for iOS ([Cupertino]) or other platforms ([Material]), along with
|
2022-01-26 21:45:12 +00:00
|
|
|
support for customizing or creating entirely new visual components.
|
2017-07-12 17:58:12 +00:00
|
|
|
|
2021-09-20 16:43:05 +00:00
|
|
|
<p align="center"><img src="https://github.com/flutter/website/blob/main/src/assets/images/docs/homepage/reflectly-hero-600px.png?raw=true" alt="Reflectly hero image"></p>
|
2017-07-12 17:12:25 +00:00
|
|
|
|
2019-10-29 22:57:14 +00:00
|
|
|
### Fast results
|
2017-07-12 17:12:25 +00:00
|
|
|
|
2020-07-23 01:23:47 +00:00
|
|
|
Flutter is fast. It's powered by the same hardware-accelerated 2D graphics
|
2020-07-28 22:16:08 +00:00
|
|
|
library that underpins Chrome and Android: [Skia]. We architected Flutter to
|
2019-04-09 01:02:09 +00:00
|
|
|
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
|
2019-10-29 22:57:14 +00:00
|
|
|
compilation to 32-bit and 64-bit ARM machine code for iOS and Android, as well
|
|
|
|
as JavaScript for the web and Intel x64 for desktop devices.
|
|
|
|
|
2021-09-20 16:43:05 +00:00
|
|
|
<p align="center"><img src="https://github.com/flutter/website/blob/main/src/assets/images/docs/homepage/dart-diagram-small.png?raw=true" alt="Dart diagram"></p>
|
2017-07-12 17:12:25 +00:00
|
|
|
|
2019-04-09 01:02:09 +00:00
|
|
|
### Productive development
|
2017-07-12 17:12:25 +00:00
|
|
|
|
2022-09-12 17:46:05 +00:00
|
|
|
Flutter offers [stateful hot reload][Hot reload], allowing you to make changes to your code
|
2019-04-09 01:02:09 +00:00
|
|
|
and see the results instantly without restarting your app or losing its state.
|
2017-07-12 17:12:25 +00:00
|
|
|
|
2019-04-09 01:02:09 +00:00
|
|
|
[![Hot reload animation][]][Hot reload]
|
2017-07-12 17:12:25 +00:00
|
|
|
|
2019-04-09 01:02:09 +00:00
|
|
|
### Extensible and open model
|
2017-07-12 17:12:25 +00:00
|
|
|
|
2022-01-26 21:45:12 +00:00
|
|
|
Flutter works with any development tool (or none at all), and also includes
|
|
|
|
editor plug-ins for both [Visual Studio Code] and [IntelliJ / Android Studio].
|
|
|
|
Flutter provides [tens of thousands of packages][Flutter packages] to speed your
|
|
|
|
development, regardless of your target platform. And accessing other native code
|
2022-07-21 21:22:07 +00:00
|
|
|
is easy, with support for both FFI ([on Android][Android FFI], [on iOS][iOS FFI],
|
2022-09-12 17:46:05 +00:00
|
|
|
[on macOS][macOS FFI], and [on Windows][Windows FFI]) as well as
|
|
|
|
[platform-specific APIs][platform channels].
|
2017-07-12 17:12:25 +00:00
|
|
|
|
2020-07-23 01:23:47 +00:00
|
|
|
Flutter is a fully open-source project, and we welcome contributions.
|
2021-08-03 18:55:03 +00:00
|
|
|
Information on how to get started can be found in our
|
2019-04-09 01:02:09 +00:00
|
|
|
[contributor guide](CONTRIBUTING.md).
|
2018-11-06 21:41:09 +00:00
|
|
|
|
2019-04-09 01:02:09 +00:00
|
|
|
[flutter.dev]: https://flutter.dev
|
2019-01-24 02:54:15 +00:00
|
|
|
[Build Status - Cirrus]: https://api.cirrus-ci.com/github/flutter/flutter.svg
|
|
|
|
[Build status]: https://cirrus-ci.com/github/flutter/flutter/master
|
2021-02-12 07:27:41 +00:00
|
|
|
[Discord instructions]: https://github.com/flutter/flutter/wiki/Chat
|
2023-09-15 04:39:30 +00:00
|
|
|
[Discord badge]: https://img.shields.io/discord/608014603317936148?logo=discord
|
2019-11-21 00:15:58 +00:00
|
|
|
[Twitter handle]: https://img.shields.io/twitter/follow/flutterdev.svg?style=social&label=Follow
|
|
|
|
[Twitter badge]: https://twitter.com/intent/follow?screen_name=flutterdev
|
2022-07-21 21:22:07 +00:00
|
|
|
[layered architecture]: https://docs.flutter.dev/resources/inside-flutter
|
2022-01-26 21:45:12 +00:00
|
|
|
[architectural overview]: https://docs.flutter.dev/resources/architectural-overview
|
2019-04-09 01:02:09 +00:00
|
|
|
[widget catalog]: https://flutter.dev/widgets/
|
2022-01-26 21:45:12 +00:00
|
|
|
[Cupertino]: https://docs.flutter.dev/development/ui/widgets/cupertino
|
|
|
|
[Material]: https://docs.flutter.dev/development/ui/widgets/material
|
2019-04-09 01:02:09 +00:00
|
|
|
[Skia]: https://skia.org/
|
2019-05-14 17:35:00 +00:00
|
|
|
[Dart platform]: https://dart.dev/
|
2021-09-02 06:46:27 +00:00
|
|
|
[Hot reload animation]: https://github.com/flutter/website/blob/main/src/assets/images/docs/tools/android-studio/hot-reload.gif?raw=true
|
2022-01-26 21:45:12 +00:00
|
|
|
[Hot reload]: https://docs.flutter.dev/development/tools/hot-reload
|
2019-04-09 01:02:09 +00:00
|
|
|
[Visual Studio Code]: https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
|
|
|
|
[IntelliJ / Android Studio]: https://plugins.jetbrains.com/plugin/9212-flutter
|
2019-05-14 17:35:00 +00:00
|
|
|
[Flutter packages]: https://pub.dev/flutter
|
2022-07-21 21:22:07 +00:00
|
|
|
[Android FFI]: https://docs.flutter.dev/development/platform-integration/android/c-interop
|
2022-09-12 17:46:05 +00:00
|
|
|
[iOS FFI]: https://docs.flutter.dev/development/platform-integration/ios/c-interop
|
2022-07-21 21:22:07 +00:00
|
|
|
[macOS FFI]: https://docs.flutter.dev/development/platform-integration/macos/c-interop
|
2022-09-12 17:46:05 +00:00
|
|
|
[Windows FFI]: https://docs.flutter.dev/development/platform-integration/windows/building#integrating-with-windows
|
2022-07-21 21:22:07 +00:00
|
|
|
[platform channels]: https://docs.flutter.dev/development/platform-integration/platform-channels
|
2019-11-21 00:15:58 +00:00
|
|
|
[interop example]: https://github.com/flutter/flutter/tree/master/examples/platform_channel
|