flutter/dev/integration_tests/flutter_gallery
Mitchell Goodwin e84f1296ac
Refactor to use Apple system fonts (#137275)
Addresses #63507, and is a follow up to the engine PR https://github.com/flutter/engine/pull/46857

Changes the font family string when attempting to use Apple system fonts to the new proxies added by the engine. For the "Text" font this will be more secure in the future against possible changes to Apple's API. For the "Display" font, this will now work correctly when it didn't before.

I checked the letter spacing values against a native app for all font sizes between 17-28. I made a few adjustments to better match native, but especially for the "Text" font we were either really close, or close enough to not make a large breaking change to default fonts worth it.

| Before  | After |
| ------------- | ------------- |
| <img width="466" alt="Screenshot 2023-11-02 at 11 45 12 AM" src="https://github.com/flutter/flutter/assets/58190796/627ed8ac-d848-4f71-aa62-a467b8aac62d"> | <img width="383" alt="Screenshot 2023-11-02 at 11 46 25 AM" src="https://github.com/flutter/flutter/assets/58190796/9a502021-7d2b-4e14-98f1-86971b3830a5"> |

The smaller text in both the before and after should be the same. The large system font that Flutter used before was incorrect, which caused it to look more spread out. Now we use the correct font.
2023-11-29 21:03:32 +00:00
..
android [flutter_tools] - Add queries section to Android manifest file (#137207) 2023-11-16 08:57:20 +00:00
ios iOS info.plist template: make UIViewControllerBasedStatusBar to be true (#128970) 2023-06-20 18:11:18 +00:00
lib Refactor to use Apple system fonts (#137275) 2023-11-29 21:03:32 +00:00
linux Deletes files that should be ignored (#127984) 2023-06-29 19:45:22 +00:00
macos Add --local-engine-host, which if specified, is used instead of being inferred (#132180) 2023-08-10 09:38:38 -07:00
test Adds SemanticsNode Finders for searching the semantics tree (#127137) 2023-08-10 21:31:06 +00:00
test_driver Add spaces after flow control statements (#126320) 2023-05-15 11:07:30 +02:00
test_memory Adds SemanticsNode Finders for searching the semantics tree (#127137) 2023-08-10 21:31:06 +00:00
tool
web Fixes documentation inconsistencies around 'material' and 'material design' (#102632) 2022-04-27 09:29:06 -07:00
windows [Windows] Add target architecture to build path (#131843) 2023-08-31 09:09:02 -07:00
.gitignore Fix: use --web-launch-url and --web-hostname arguments in flutter drive (#131763) 2023-08-10 20:53:08 +00:00
analysis_options.yaml Enable avoid_print lint. (#91444) 2021-10-07 16:48:04 -07:00
pubspec.yaml Roll dependencies (#139203) 2023-11-29 20:12:59 +00:00
README.md ✒ Spell Check All .md Files Related to Flutter 💙 (#61564) 2020-07-22 18:23:47 -07:00

Flutter gallery

An older copy of the Flutter gallery demo application used for integration testing.

For the current Flutter Gallery app sample, see this repo: https://github.com/flutter/gallery

Icon

Android launcher icons were generated using Android Asset Studio: https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=image&foreground.space.trim=1&foreground.space.pad=0.1&foreColor=607d8b%2C0&crop=0&backgroundShape=square&backColor=fafafa%2C100&effects=none