SegmentedBarLegendStyle class
An immutable style that can be applied to SegmentedBarLegends.
- Annotations
Constructors
- SegmentedBarLegendStyle({int? maxLines, double spacing = 4, double runSpacing = 4, EdgeInsets padding = const EdgeInsets.symmetric(vertical: 4, horizontal: 8)})
-
Creates a style for SegmentedBarLegends.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxLines → int?
-
The maximum number of lines in the legend.
final
- padding → EdgeInsets
-
The padding around the legend.
final
- runSpacing → double
-
The amount of the vertical space between adjacent lines.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spacing → double
-
The amount of the horizontal space between adjacent items in the legend.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override