flutter/examples
ivirtex ef40e3ea6f
Add CupertinoSliverNavigationBar large title magnification on over scroll (#110127)
* Add magnification of CupertinoSliverNavigationBar large title

* Fix padding in maximum scale computation

* Apply magnification by using RenderBox

* Do not pass key to the superclass constructor

* Use `clampDouble` instead of `clamp` extension method

* Remove trailing whitespaces to make linter happy

* Name test variables more precisely

* Move transform computation to `performLayout` and implement `hitTestChildren`

* Address comments

* Address comments

* Address comments

* Update comment about scale

* Fix hit-testing

* Fix hit-testing again

* Make linter happy

* Implement magnifying without using LayoutBuilder

* Remove trailing spaces

* Add hit-testing of the large title

* Remove whitespaces

* Fix scale computation and some tests

* Fix remaining tests

* Refactor and fix comments

* Update comments
2022-12-08 17:15:09 +00:00
..
api Add CupertinoSliverNavigationBar large title magnification on over scroll (#110127) 2022-12-08 17:15:09 +00:00
flutter_view Increase minimum supported macOS version from 10.13 to 10.14 (#114713) 2022-11-07 11:32:42 +01:00
hello_world Implement Linux part of examples (#108068) 2022-12-08 08:44:11 +13:00
image_list [flutter_tools] Pin package:archive and manual roll (#115662) 2022-11-18 19:28:10 +00:00
layers [flutter_tools] Pin package:archive and manual roll (#115662) 2022-11-18 19:28:10 +00:00
platform_channel Implement Linux part of examples (#108068) 2022-12-08 08:44:11 +13:00
platform_channel_swift Revert "[flutter_tools] Pin path_provider_android and roll pub packages (#116377)" (#116424) 2022-12-02 08:30:14 -08:00
platform_view Increase minimum supported macOS version from 10.13 to 10.14 (#114713) 2022-11-07 11:32:42 +01:00
splash [flutter_tools] Pin package:archive and manual roll (#115662) 2022-11-18 19:28:10 +00:00
.clang-format Implement Linux part of examples (#108068) 2022-12-08 08:44:11 +13: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.