mirror of
https://github.com/flutter/samples.git
synced 2026-04-04 18:51:05 +00:00
Update gallery, fix Cupertino fonts by using GoogleSans instead (#155)
* 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
This commit is contained in:
@@ -1,5 +1,28 @@
|
||||
A gallery of Flutter widgets and UX studies.
|
||||
# Flutter gallery
|
||||
|
||||
Original source on [GitHub][gallery].
|
||||
This is a copy of the [Flutter gallery] hosted at
|
||||
[flutter.github.io/samples][hosted url].
|
||||
|
||||
[gallery]: https://github.com/flutter/flutter/tree/master/examples/flutter_gallery
|
||||
## Updating
|
||||
|
||||
To update, copy the contents of the gallery directory, and remove the following
|
||||
files and directories:
|
||||
|
||||
```bash
|
||||
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".
|
||||
|
||||
[Flutter gallery]: https://github.com/flutter/flutter/tree/master/examples/flutter_gallery
|
||||
[hosted url]: https://flutter.github.io/samples/gallery/#/
|
||||
|
||||
Reference in New Issue
Block a user