mirror of
https://github.com/flutter/samples.git
synced 2026-03-22 20:31:48 +00:00
* Update gallery, fix Cupertino fonts Cupertino fonts fixed by using GoogleSans instead * remove BUILD.gn * remove ios and android dirs from web/gallery * remove meta/flutter_gallery.cmx * revert provider_shopper/pubspec.lock * remove gallery's test and tool directories * update web/gallery README
816 B
816 B
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".