flutter/examples
Pierre-Louis 8c1c2f6af5
Introduce Theme extensions (#98033)
* first pass

* x

* x

* address feedback

* support multiple extensions

* add convenience function, Object ⇒ dynamic, lerping

* remove not-useful comment

* fix examples/api lower sdk constraint

* remove trailing spaces

* remove another pesky trailing space

* improve lerp

* address feedback

* hide map implementation from constructor and copyWith

* use iterableproperty

* Revert "hide map implementation from constructor and copyWith"

This reverts commit a6994af004.

* slow down sample

* make theme extension params required

* add null check

* improve documentation

* fix hashCode and operator == overrides

* modify existing tests

* remove trailing spaces

* add all tests except lerping

* fix lerping bug

* add toString to themeExtension example

* add lerping test

* assume non-nullability in example

* address feedback

* update docs

* remove trailing space

* use Map.unmodifiable
2022-03-21 15:26:30 +01:00
..
api Introduce Theme extensions (#98033) 2022-03-21 15:26:30 +01:00
flutter_view Update dependencies (#99874) 2022-03-10 14:13:59 -07:00
hello_world Roll chrome 96 attempt 2 (#100073) 2022-03-17 13:23:43 -07:00
image_list Update dependencies (#99874) 2022-03-10 14:13:59 -07:00
layers Update dependencies (#99874) 2022-03-10 14:13:59 -07:00
platform_channel Update dependencies (#99874) 2022-03-10 14:13:59 -07:00
platform_channel_swift Update dependencies (#99874) 2022-03-10 14:13:59 -07:00
platform_view Update dependencies (#99874) 2022-03-10 14:13:59 -07:00
splash Update dependencies (#99874) 2022-03-10 14:13:59 -07:00
flutter_gallery.readme Move flutter_gallery to the testing folder (#52532) 2020-03-16 10:31:42 +01:00
README.md Move flutter_gallery to the testing folder (#52532) 2020-03-16 10:31:42 +01:00

Flutter Examples

This directory contains several examples of using Flutter. To run an example, use flutter run inside that example's directory. See the getting started guide to install the flutter tool.

For additional samples, see the flutter/samples repo.

Available examples include:

Notes

Note on Gradle wrapper files in .gitignore:

Gradle wrapper files should normally be checked into source control. The example projects don't do that to avoid having several copies of the wrapper binary in the Flutter repo. Instead, the Gradle wrapper is injected by Flutter tooling, and the wrapper files are .gitignore'd to avoid making the Flutter repository dirty as a side effect of running the examples.