SegmentedControlStyle constructor

const SegmentedControlStyle({
  1. BorderRadius? borderRadius,
  2. Color? borderColor,
  3. double borderWidth = 1.0,
  4. Color? backgroundColor,
  5. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 4, vertical: 2),
  6. double elevation = 0.0,
  7. Color? indicatorColor,
  8. EdgeInsets? indicatorMargin,
  9. double indicatorElevation = 0.0,
  10. TextStyle? unselectedTextStyle,
  11. 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,
});