SegmentedControlStyle constructor
const
SegmentedControlStyle({
- BorderRadius? borderRadius,
- Color? borderColor,
- double borderWidth = 1.0,
- Color? backgroundColor,
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 4, vertical: 2),
- double elevation = 0.0,
- Color? indicatorColor,
- EdgeInsets? indicatorMargin,
- double indicatorElevation = 0.0,
- TextStyle? unselectedTextStyle,
- TextStyle? selectedTextStyle,
Creates a style object for the SegmentedControl.
Implementation
const SegmentedControlStyle({
this.borderRadius,
this.borderColor,
this.borderWidth = 1.0,
this.backgroundColor,
this.padding = const EdgeInsets.symmetric(horizontal: 4, vertical: 2),
this.elevation = 0.0,
this.indicatorColor,
this.indicatorMargin,
this.indicatorElevation = 0.0,
this.unselectedTextStyle,
this.selectedTextStyle,
});