flutter/dev
Andrew Kolos aa498cd51a
Add API to read flavor from framework at run time (#134179)
Resolves #128046.

Adds a services API that allows flutter app developers to write app code that determines `--flavor` the app was built with.

This is implemented by having the tool adding the value of `--flavor` to its list of dart environment declarations, which will be available to the app at run time. Specifically,`FLUTTER_APP_FLAVOR` is set. I chose this implementation for its simplicity. There is some precedent for this, but only for web ([example](cd2f3f5e78/packages/flutter_tools/lib/src/runner/flutter_command.dart (L1231))).
2023-09-28 17:38:54 +00:00
..
a11y_assessments a few web tweaks for a11y assessment app (#134479) 2023-09-21 19:38:20 +00:00
automated_tests [deps] Update package:web dependency. (#135174) 2023-09-20 22:55:52 +00:00
benchmarks [deps] Update package:web dependency. (#135174) 2023-09-20 22:55:52 +00:00
bots [deps] Update package:web dependency. (#135174) 2023-09-20 22:55:52 +00:00
ci Bump activesupport from 6.1.7.3 to 6.1.7.6 in /dev/ci/mac (#133225) 2023-08-24 20:06:51 +00:00
conductor Enable strict-inference (#135043) 2023-09-20 19:59:08 +00:00
customer_testing Unpin url launcher (remake) (#134958) 2023-09-20 02:43:57 +00:00
devicelab Revert "Upload generated frame-request-pending stats" (#135672) 2023-09-28 07:23:25 -07:00
docs Enable private field promotion for dev (#134480) 2023-09-12 18:29:00 +00:00
forbidden_from_release_tests Unpin url launcher (remake) (#134958) 2023-09-20 02:43:57 +00:00
integration_tests Add API to read flavor from framework at run time (#134179) 2023-09-28 17:38:54 +00:00
manual_tests [deps] Update package:web dependency. (#135174) 2023-09-20 22:55:52 +00:00
missing_dependency_tests Enable private field promotion for dev (#134480) 2023-09-12 18:29:00 +00:00
snippets/config Remove null-safety argument from DartPad doc samples (#127345) 2023-05-23 00:10:11 +00:00
tools [deps] Update package:web dependency. (#135174) 2023-09-20 22:55:52 +00:00
tracing_tests [deps] Update package:web dependency. (#135174) 2023-09-20 22:55:52 +00:00
analysis_options.yaml Enable more lints (#91642) 2021-10-14 22:03:03 -07:00
README.md Migrate to .ci.yaml (#82960) 2021-05-19 20:09:46 -07:00

This directory contains tools and resources that the Flutter team uses during the development of the framework. The tools in this directory should not be necessary for developing Flutter applications, though of course, they may be interesting if you are curious.

The tests in this directory are run in the framework_tests_misc-* shards.