Unverified Commit db162a47 authored by Bharat Biradar's avatar Bharat Biradar Committed by GitHub

Add supported custom font formats in official docs (#77230)

parent 54eb3d62
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment