PlatformToggleButtons constructor

const PlatformToggleButtons({
  1. Key? key,
  2. Key? widgetKey,
  3. required List<Widget> children,
  4. required List<bool> isSelected,
  5. void onPressed(
    1. int
    )?,
  6. MouseCursor? mouseCursor,
  7. TextStyle? textStyle,
  8. BoxConstraints? constraints,
  9. Color? color,
  10. Color? selectedColor,
  11. Color? disabledColor,
  12. Color? fillColor,
  13. Color? focusColor,
  14. Color? highlightColor,
  15. Color? hoverColor,
  16. Color? splashColor,
  17. List<FocusNode>? focusNodes,
  18. bool renderBorder = true,
  19. Color? borderColor,
  20. Color? selectedBorderColor,
  21. Color? disabledBorderColor,
  22. BorderRadius? borderRadius,
  23. double? borderWidth,
  24. Axis direction = Axis.horizontal,
  25. VerticalDirection verticalDirection = VerticalDirection.down,
  26. 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);