BaseBackgroundButton constructor
const
BaseBackgroundButton({
- Key? key,
- double width = double.infinity,
- double height = 44,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- Widget? icon,
- Widget? title,
- BorderRadiusGeometry borderRadius = const BorderRadius.all(Radius.circular(32)),
- Border? border,
- Color? color,
- Color? pressedColor,
- Color? disableColor,
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
Implementation
const BaseBackgroundButton({
super.key,
this.width = double.infinity,
this.height = 44,
this.padding = EdgeInsets.zero,
this.icon,
this.title,
this.borderRadius = const BorderRadius.all(Radius.circular(32)),
this.border,
this.color,
this.pressedColor,
this.disableColor,
this.onPressed,
this.onLongPress,
});