ButtonWidget constructor
ButtonWidget({
- Key? key,
- VoidCallback? callback,
- String name = "",
- double? width,
- Color color = primary,
- double radius = 8,
- String? icon,
- double height = 40,
- double sizeIcon = 12,
- TextStyle textStyle = normalStyle,
- Color boderColor = Colors.transparent,
- double boderWidth = 0,
- Color textColor = white,
- bool enable = true,
Implementation
ButtonWidget(
{Key? key,
this.callback,
this.name = "",
this.width,
this.color = primary,
this.radius = 8,
this.icon,
this.height = 40,
this.sizeIcon = 12,
this.textStyle = normalStyle,
this.boderColor = Colors.transparent,
this.boderWidth = 0,
this.textColor = white,
this.enable = true})
: super(key: key);