flutter/examples
Taha Tesser 12659f2a7b
Fix MultiChildLayoutDelegate.hasChild doc (#126433)
fixes https://github.com/flutter/flutter/issues/115898

`hasChild` checks `_idToChild` map.  `_idToChild` is not assigned until `_callPerformLayout` is called.
So `hasChild` shouldn't be called in `getSize`.

df789c9e76/packages/flutter/lib/src/rendering/custom_layout.dart (L400-L404)

Updated docs and example class names.
2023-05-11 14:59:07 +00:00
..
api Fix MultiChildLayoutDelegate.hasChild doc (#126433) 2023-05-11 14:59:07 +00:00
flutter_view Update packages (#126140) 2023-05-08 09:51:28 +02:00
hello_world Update packages (#126140) 2023-05-08 09:51:28 +02:00
image_list [Refactor] Fix style in example (#126191) 2023-05-08 18:57:06 +00:00
layers Update packages (#126140) 2023-05-08 09:51:28 +02:00
platform_channel Update packages (#126140) 2023-05-08 09:51:28 +02:00
platform_channel_swift Update packages (#126140) 2023-05-08 09:51:28 +02:00
platform_view Update packages (#126140) 2023-05-08 09:51:28 +02:00
splash Update packages (#126140) 2023-05-08 09:51:28 +02: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 Fix typo in README.md (#126053) 2023-05-04 14:58:17 +02: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.