We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fontFamily
1 parent aa60e90 commit ac30842Copy full SHA for ac30842
packages/flutter/lib/src/painting/text_style.dart
@@ -529,8 +529,9 @@ class TextStyle with Diagnosticable {
529
/// specified in one place, it will dominate [color] in another.
530
final Color? backgroundColor;
531
532
- /// The name of the font to use when painting the text (e.g., Roboto). If the
533
- /// font is defined in a package, this will be prefixed with
+ /// The name of the font to use when painting the text (e.g., Roboto).
+ ///
534
+ /// If the font is defined in a package, this will be prefixed with
535
/// 'packages/package_name/' (e.g. 'packages/cool_fonts/Roboto'). The
536
/// prefixing is done by the constructor when the `package` argument is
537
/// provided.
0 commit comments