ToggleButtonsThemeData constructor Null safety

const ToggleButtonsThemeData(
  1. {TextStyle? textStyle,
  2. BoxConstraints? constraints,
  3. Color? color,
  4. Color? selectedColor,
  5. Color? disabledColor,
  6. Color? fillColor,
  7. Color? focusColor,
  8. Color? highlightColor,
  9. Color? hoverColor,
  10. Color? splashColor,
  11. Color? borderColor,
  12. Color? selectedBorderColor,
  13. Color? disabledBorderColor,
  14. BorderRadius? borderRadius,
  15. double? borderWidth}
)

Creates the set of color and border properties used to configure ToggleButtons.

Implementation

const ToggleButtonsThemeData({
  this.textStyle,
  this.constraints,
  this.color,
  this.selectedColor,
  this.disabledColor,
  this.fillColor,
  this.focusColor,
  this.highlightColor,
  this.hoverColor,
  this.splashColor,
  this.borderColor,
  this.selectedBorderColor,
  this.disabledBorderColor,
  this.borderRadius,
  this.borderWidth,
});