CustomFilledButton constructor
const
CustomFilledButton({
- WidgetStateProperty<
EdgeInsetsGeometry?> ? padding, - Key? key,
- ButtonStyle? buttonStyle,
- VoidCallback? onPressed,
- String? buttonText,
- WidgetStateProperty<
Color?> ? buttonColor, - Widget? buttonIcon,
- TextStyle? textstyle,
- WidgetStateProperty<
OutlinedBorder?> ? buttonShape, - bool isCircularProgressNeeded = false,
- double? iconTextGap,
- bool? isLoading,
Implementation
const CustomFilledButton(
{this.padding,
super.key,
this.buttonStyle,
this.onPressed,
this.buttonText,
this.buttonColor,
this.buttonIcon,
this.textstyle,
this.buttonShape,
this.isCircularProgressNeeded = false,
this.iconTextGap,
this.isLoading})
: assert(buttonIcon != null || buttonText != null,
'At least one value (ButtonIcon or buttonText) must be provided.');