flutter/examples/layers
Michael Goderbauer dbf9e32879
Bump characters, collection, meta (#161066)
Follow-up to https://github.com/flutter/flutter/pull/160985.

These were missed by `flutter update-packages --force-upgrade` in
https://github.com/flutter/flutter/pull/160985, likely due to some
circular dependency issue. They've been bumped by hand in this PR.
2025-01-03 02:23:10 +00:00
..
android [Reland] Force automatic ndk download when building for Android (#160260) 2024-12-13 20:27:23 +00:00
ios [flutter_tools] opt iOS/macOS apps out of Metal API validation via migrator, update templates in repo. (#159228) 2024-11-21 01:36:55 +00:00
lib Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
linux Add Windows and Linux support to the 'layers' example (#126105) 2023-05-06 00:45:19 +00:00
macos [flutter_tools] opt iOS/macOS apps out of Metal API validation via migrator, update templates in repo. (#159228) 2024-11-21 01:36:55 +00:00
raw Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
rendering Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
services Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
test Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
widgets Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
windows [Windows] Drop support for Windows 7/8 apps in template (#146668) 2024-04-12 01:07:20 +00:00
.metadata Add Windows and Linux support to the 'layers' example (#126105) 2023-05-06 00:45:19 +00:00
analysis_options.yaml Add Windows and Linux support to the 'layers' example (#126105) 2023-05-06 00:45:19 +00:00
pubspec.yaml Bump characters, collection, meta (#161066) 2025-01-03 02:23:10 +00:00
README.md Added missing code block language in docs (#147481) 2024-05-01 14:44:27 +00:00

Examples of Flutter's layered architecture

This directory contains several self-contained examples that illustrate Flutter's layered architecture.

  • raw/ These examples show how to program against the lowest layer of the system. They manually receive input packets and construct composited scenes.

  • rendering/ These examples use Flutter's render tree to structure your app using a retained tree of visual objects. These objects coordinate to determine their size and position on screen and to handle events.

  • widgets/ These examples use Flutter's widgets to build more elaborate apps using a reactive framework.

  • services/ These examples use services available in Flutter to interact with the host platform.

To run each example, specify the demo file on the flutter run command line, for example:

flutter run raw/spinning_square.dart
flutter run rendering/spinning_square.dart
flutter run widgets/spinning_square.dart