ButtonConfig constructor

const ButtonConfig({
  1. Color? borderColor,
  2. Color? disabledBorderColor,
  3. Color? disabledBackgroundColor,
  4. Color? disabledForegroundColor,
  5. bool square = false,
  6. double? radius = 15,
  7. ButtonType? type,
  8. AlignmentGeometry? alignment,
  9. Duration? animationDuration,
  10. WidgetStateProperty<Color?>? backgroundColor,
  11. WidgetStateProperty<double?>? elevation,
  12. bool? enableFeedback,
  13. WidgetStateProperty<Size?>? fixedSize,
  14. WidgetStateProperty<Color?>? foregroundColor,
  15. WidgetStateProperty<Size?>? maximumSize,
  16. WidgetStateProperty<Size?>? minimumSize,
  17. WidgetStateProperty<MouseCursor?>? mouseCursor,
  18. WidgetStateProperty<Color?>? overlayColor,
  19. WidgetStateProperty<EdgeInsetsGeometry?>? padding,
  20. WidgetStateProperty<Color?>? shadowColor,
  21. WidgetStateProperty<OutlinedBorder?>? shape,
  22. WidgetStateProperty<BorderSide?>? side,
  23. InteractiveInkFeatureFactory? splashFactory,
  24. WidgetStateProperty<Color?>? surfaceTintColor,
  25. MaterialTapTargetSize? tapTargetSize,
  26. WidgetStateProperty<TextStyle?>? textStyle,
  27. VisualDensity? visualDensity,
})

Implementation

const ButtonConfig({
  this.borderColor,
  this.disabledBorderColor,
  this.disabledBackgroundColor,
  this.disabledForegroundColor,
  this.square = false,
  this.radius = 15,
  this.type,
  super.alignment,
  super.animationDuration,
  super.backgroundColor,
  super.elevation,
  super.enableFeedback,
  super.fixedSize,
  super.foregroundColor,
  super.maximumSize,
  super.minimumSize,
  super.mouseCursor,
  super.overlayColor,
  super.padding,
  super.shadowColor,
  super.shape,
  super.side,
  super.splashFactory,
  super.surfaceTintColor,
  super.tapTargetSize,
  super.textStyle,
  super.visualDensity,
}) : super();