ContainedButton constructor

const ContainedButton({
  1. Key? key,
  2. WidgetStateProperty<Color?>? color,
  3. List<WidgetStateProperty<Color?>>? colors,
  4. Widget? child,
  5. EdgeInsets? padding,
  6. bool guessTextColor = true,
  7. double? minWidth,
  8. double? height,
  9. required void onPressed(),
  10. BorderRadius? borderRadius,
  11. bool busy = false,
  12. Color? busyColor,
  13. Duration? loadingDebounce,
  14. bool disabled = false,
})

Implementation

const ContainedButton({
  Key? key,
  this.color,
  this.colors,
  this.child,
  this.padding,
  this.guessTextColor = true,
  this.minWidth,
  this.height,
  required this.onPressed,
  this.borderRadius,
  this.busy = false,
  this.busyColor,
  this.loadingDebounce,
  this.disabled = false,
}) : super(key: key);