PlatformToggleButtons constructor
const
PlatformToggleButtons({
- Key? key,
- Key? widgetKey,
- required List<
Widget> children, - required List<
bool> isSelected, - void onPressed()?,
- MouseCursor? mouseCursor,
- TextStyle? textStyle,
- BoxConstraints? constraints,
- Color? color,
- Color? selectedColor,
- Color? disabledColor,
- Color? fillColor,
- Color? focusColor,
- Color? highlightColor,
- Color? hoverColor,
- Color? splashColor,
- List<
FocusNode> ? focusNodes, - bool renderBorder = true,
- Color? borderColor,
- Color? selectedBorderColor,
- Color? disabledBorderColor,
- BorderRadius? borderRadius,
- double? borderWidth,
- Axis direction = Axis.horizontal,
- VerticalDirection verticalDirection = VerticalDirection.down,
- EdgeInsets? cupertinoPadding,
Implementation
const PlatformToggleButtons({
Key? key,
this.widgetKey,
required this.children,
required this.isSelected,
this.onPressed,
this.mouseCursor,
this.textStyle,
this.constraints,
this.color,
this.selectedColor,
this.disabledColor,
this.fillColor,
this.focusColor,
this.highlightColor,
this.hoverColor,
this.splashColor,
this.focusNodes,
this.renderBorder = true,
this.borderColor,
this.selectedBorderColor,
this.disabledBorderColor,
this.borderRadius,
this.borderWidth,
this.direction = Axis.horizontal,
this.verticalDirection = VerticalDirection.down,
this.cupertinoPadding,
}) : super(key: key);