mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
John Ryan
a29853144b
|
5 years ago | |
---|---|---|
.. | ||
lib | 5 years ago | |
web | 5 years ago | |
README.md | 5 years ago | |
analysis_options.yaml | 5 years ago | |
pubspec.lock | 5 years ago | |
pubspec.yaml | 5 years ago |
README.md
Flutter gallery
This is a copy of the Flutter gallery hosted at flutter.github.io/samples.
Updating
To update, copy the contents of the gallery directory, and remove the following files and directories:
rm BUILD.gn
rm -rf tool/
rm -rf test/
rm -rf android/
rm -rf ios/
If you changed the pubspec.yaml
file, make sure to use Google Sans instead of
San Francisco (which is not available on the web) by copy-pasting the fonts
section from Google Sans:
- Use "GoogleSans" for ".SF Pro Text".
- Use "GoogleSansDisplay" for ".SF Pro Display"
- Use "GoogleSans" for ".SF UI Text"
- Use "GoogleSansDisplay" for ".SF UI Display".