Add supported custom font formats in official docs (#77230)
This commit is contained in:
@@ -334,6 +334,16 @@ const double _kDefaultFontSize = 14.0;
|
||||
/// ```
|
||||
/// {@end-tool}
|
||||
///
|
||||
/// #### Supported font formats
|
||||
///
|
||||
/// Font formats currently supported by Flutter :
|
||||
///
|
||||
/// * `.ttc`
|
||||
/// * `.ttf`
|
||||
/// * `.otf`
|
||||
///
|
||||
/// Flutter does not support `.woff` and `.woff2` fonts for all platforms.
|
||||
///
|
||||
/// ### Custom Font Fallback
|
||||
///
|
||||
/// A custom [fontFamilyFallback] list can be provided. The list should be an
|
||||
|
||||
Reference in New Issue
Block a user