Skip to content

Commit

Permalink
Update forui/lib/src/box/box_style.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Ngeo <[email protected]>
  • Loading branch information
kawaijoe and Pante authored May 9, 2024
1 parent ed33064 commit c5f3b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forui/lib/src/box/box_style.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

0 comments on commit c5f3b50

Please sign in to comment.