ContainedButton constructor
const
ContainedButton({
- Key? key,
- WidgetStateProperty<
Color?> ? color, - List<
WidgetStateProperty< ? colors,Color?> > - Widget? child,
- EdgeInsets? padding,
- bool guessTextColor = true,
- double? minWidth,
- double? height,
- required void onPressed(),
- BorderRadius? borderRadius,
- bool busy = false,
- Color? busyColor,
- Duration? loadingDebounce,
- 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);