Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
fujidaiti committed Dec 14, 2023
1 parent 6b75841 commit e7e07c2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/src/legend_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ enum LegendItemBehavior {
both,
}


/// An immutable style that can be applied to [LegendItem]s.
@immutable
class LegendItemStyle {
Expand All @@ -149,7 +148,7 @@ class LegendItemStyle {
/// The maximum width of the label.
final double maxLabelSize;

/// The decoration applied to the handle.
/// The decoration applied to the handle.
final BoxDecoration handleDecoration;

/// The padding around the handle.
Expand All @@ -168,13 +167,13 @@ class LegendItemStyle {
final LegendItemBehavior behavior;

/// The fallback style for the [Segment.label].
///
///
/// If the label of [LegendItem.segment] has no [TextStyle],
/// this style is used instead.
final TextStyle? labelStyle;

/// The fallback style for the [Segment.valueLabel].
///
///
/// If the value label of [LegendItem.segment] has no [TextStyle],
/// this style is used instead.
final TextStyle? valueLabelStyle;
Expand Down

0 comments on commit e7e07c2

Please sign in to comment.