mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Manually loads darwin system fonts. Darwin system fonts returns different typeface in different sizes. This PR loads the font in different sizes then register them as different fonts. These new fonts can be access through the framework. Fixes https://github.com/flutter/flutter/issues/63507 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
flutter/third_party
This directory contains third-party code that is a combination of:
-
Code that is vendored into the Flutter repository, from an external source. For example, we might have
third_party/glfw, which contains the GLFW library, vendored from an external repository.💡 TIP: See
DEPSfor where these sources are declared. -
Code that originates from another repository, but is copied (sometimes with alterations) into the Flutter repository. For an example, see
third_party/spring_animation. -
Code that is licensed separately from the rest of the Flutter repository. For example, see
third_party/txt.
When adding a new externally sourced third-party library, update .gitignore:
# Ignores all third_party/ directories except for the ones we want to track.
+ !{folder_name}/