diff --git a/packages/flutter/lib/src/painting/text_style.dart b/packages/flutter/lib/src/painting/text_style.dart index b6b33e5fc83a..2bfbee3f3669 100644 --- a/packages/flutter/lib/src/painting/text_style.dart +++ b/packages/flutter/lib/src/painting/text_style.dart @@ -529,8 +529,9 @@ class TextStyle with Diagnosticable { /// specified in one place, it will dominate [color] in another. final Color? backgroundColor; - /// The name of the font to use when painting the text (e.g., Roboto). If the - /// 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). + /// + /// If the font is defined in a package, this will be prefixed with /// 'packages/package_name/' (e.g. 'packages/cool_fonts/Roboto'). The /// prefixing is done by the constructor when the `package` argument is /// provided.