Flutter makes it easy and fast to build beautiful apps for mobile and beyond
Go to file
Matan Lurey e517ae3457
Refactor android_engine_test, make it easier to debug/deflake locally. (#161534)
The goal here is to have a great standalone `android_engine_test` suite
that [replaces
`scenario_app/android`](https://github.com/flutter/flutter/pull/160992).

No test is _functionally_ changed in this PR, but overview of changes:
- Finished renaming the suite `android_engine_tests` instead of
`flutter_driver_android`
- Added instructions and an environment variable for local generation of
golden-files (`UPDATE_GOLDENS=1`)
- Added explanations of the individual tests, where they live, and how
to run them locally
- Added a hybrid-composition (HC, not TLHC, which is already tested)
test
- Renamed "other_smiley" to "surface_texture_smiley" (and renamed the
original to "surface_producer_smiley")
- Removed unnecessary ".android" suffix (we will not run this on
anything but Android)
- Added a `tool/deflake.dart` to run a test suite 10x (or custom) times
locally to try and determine flakiness

After this PR, I'll add flags to let you control variants and name the
screenshots accordingly, i.e.:
- API v34 or v35
- OpenGLES or Vulkan (will require an `AndroidManifest.xml` edit during
the test instrumentation)
2025-01-15 01:05:31 +00:00
.github Exclude *texture* as matching for a: text input (#161354) 2025-01-09 16:28:24 +00:00
.vscode Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
bin Roll Packages from 3c3bc6832b39 to d1fd6232ec33 (4 revisions) (#161597) 2025-01-14 16:13:19 +00:00
dev Refactor android_engine_test, make it easier to debug/deflake locally. (#161534) 2025-01-15 01:05:31 +00:00
docs Remove references to cirrus, mostly in doc comments. (#161529) 2025-01-13 23:49:04 +00:00
engine [Impeller] null check device buffer in image encoding. (#161194) 2025-01-15 00:34:53 +00:00
examples Update package revisions to latest (#161525) 2025-01-14 18:22:42 +00:00
packages Feature/twitter keyboard (#161025) 2025-01-15 00:15:15 +00:00
.ci.yaml Refactor android_engine_test, make it easier to debug/deflake locally. (#161534) 2025-01-15 01:05:31 +00:00
.gitattributes Add pre-stable support for create on Windows (#51895) 2020-03-23 10:42:26 -07:00
.gitignore git ignore .ccls-cache (#161340) 2025-01-09 00:10:05 +00:00
analysis_options.yaml Clean up engine's analysis_options.yaml (#161554) 2025-01-15 00:08:24 +00:00
AUTHORS adding my name to authors (#160822) 2024-12-26 17:40:29 +00:00
CHANGELOG.md update changelog for 3.27.2 release (#161569) 2025-01-14 17:59:50 +00:00
CODE_OF_CONDUCT.md Update old wiki links (#149544) 2024-06-17 17:26:08 +00:00
CODEOWNERS remove fujino from CODEOWNERS (#155369) 2024-09-26 17:02:24 +00:00
CONTRIBUTING.md Fix link to engine docs in CONTRIBUTING.md (#161401) 2025-01-09 23:01:24 +00:00
dartdoc_options.yaml Move snippets package back into flutter repo (#147690) 2024-05-03 06:09:03 +00:00
DEPS [deps] remove no-longer-used repo deps (#161605) 2025-01-14 21:50:11 +00:00
flutter_console.bat License update (#45373) 2019-11-27 15:04:02 -08:00
LICENSE License update (#45373) 2019-11-27 15:04:02 -08:00
PATENT_GRANT Rename patent file (#38686) 2019-08-16 16:54:58 +01:00
README.md Fix broken link to Hot Reload gif in README (#161113) 2025-01-07 18:20:21 +00:00
TESTOWNERS [Android] Removes dev dependency plugins from release builds (#158026) 2024-12-04 18:13:07 +00:00

Flutter

Flutter CI Status Discord badge Twitter handle codecov CII Best Practices SLSA 1

Flutter is Google's SDK for crafting beautiful, fast user experiences for mobile, web, and desktop from a single codebase. 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, follow the flutter-announce@googlegroups.com mailing list. Our documentation also tracks breaking changes across releases.

Terms of service

The Flutter tool may occasionally download resources from Google servers. By downloading or using the Flutter SDK, you agree to the Google Terms of Service: https://policies.google.com/terms

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).

About Flutter

We think Flutter will help you create beautiful, fast apps, with a productive, 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.

Beautiful user experiences

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 whether you're building for iOS (Cupertino) or other platforms (Material), along with support for customizing or creating entirely new visual components.

Reflectly hero image

Fast results

Flutter is fast. It's powered by hardware-accelerated 2D graphics libraries like Skia (which underpins Chrome and Android) and Impeller. 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 32-bit and 64-bit ARM machine code for iOS and Android, JavaScript and WebAssembly for the web, as well as Intel x64 and ARM for desktop devices.

Dart diagram

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 (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 to speed your development, regardless of your target platform. And accessing other native code is easy, with support for both FFI (on Android, on iOS, on macOS, and on Windows) as well as platform-specific APIs.

Flutter is a fully open-source project, and we welcome contributions. Information on how to get started can be found in our contributor guide.