ButtonStyle constructor

const ButtonStyle({
  1. WidgetStateProperty<Color?>? foregroundColor,
  2. WidgetStateProperty<Color?>? backgroundColor,
  3. WidgetStateProperty<Color?>? overlayColor,
  4. TextStyle? textStyle,
  5. WidgetStateProperty<BorderSide?>? side,
  6. OutlinedBorder? shape,
  7. EdgeInsetsGeometry? padding,
  8. Size? minimumSize,
  9. Size? fixedSize,
  10. Size? maximumSize,
  11. double? iconSize,
  12. VisualDensity? visualDensity,
  13. TapTargetSize? tapTargetSize,
  14. ButtonLayerBuilder? backgroundBuilder,
  15. PressLook? pressLook,
  16. bool? ringStandsOff,
})

Implementation

const ButtonStyle({
  this.foregroundColor,
  this.backgroundColor,
  this.overlayColor,
  this.textStyle,
  this.side,
  this.shape,
  this.padding,
  this.minimumSize,
  this.fixedSize,
  this.maximumSize,
  this.iconSize,
  this.visualDensity,
  this.tapTargetSize,
  this.backgroundBuilder,
  this.pressLook,
  this.ringStandsOff,
});