diff --git a/forui/lib/src/box/box_style.dart b/forui/lib/src/box/box_style.dart index 0f6b3325d..e4fa3e143 100644 --- a/forui/lib/src/box/box_style.dart +++ b/forui/lib/src/box/box_style.dart @@ -13,7 +13,7 @@ class FBoxStyle { /// Creates a [FBoxStyle]. const FBoxStyle({required this.color, required this.text}); - /// Creates a [FBoxStyle] that inherits the properties from the given [FFontData]. + /// Creates a [FBoxStyle] that inherits its properties from [data] and [style]. FBoxStyle.inherit({required FFontData data, required FStyleData style}): color = style.background, text = TextStyleBuilder.inherit(data, const TextStyle(fontSize: 20)); }