mirror of
https://github.com/flutter/flutter
synced 2024-10-14 04:02:56 +00:00
b2fa6c250a
Instead of incorporating the margin into the button, introduce a ButtonBar widget that supplies the proper spacing between the buttons. Also, make these buttons more configurable via ButtonTheme so that dialogs can change the minWidth and padding of the buttons as required by the spec. Fixes #1843 Fixes #3184 |
||
---|---|---|
.. | ||
hello_android | ||
hello_world | ||
layers | ||
material_gallery | ||
stocks | ||
.gitignore | ||
README.md |
Flutter Examples
This directory contains several examples of using Flutter. Each of these is an individual Dart application package.
To run an example, use flutter run
inside that example's directory. See the
getting started guide to install
the flutter
tool.
Available examples include:
-
Hello, world The hello world app is a basic app that shows the text "hello, world."
-
Material Gallery The material gallery app showcases Flutter's implementation of material design.
-
Layers The layers vignettes show how to use the various layers in the Flutter framework. There is no main.dart in this directory because each file is a standalone example. To run a particular file, use
flutter run -t filename.dart
.