KitButton constructor
KitButton({
- double height = 80,
- double width = 200,
- EdgeInsets paddingButton = const EdgeInsets.symmetric(horizontal: 10, vertical: 8),
- EdgeInsets marginButton = const EdgeInsets.all(8),
- Widget? iconPrefix,
- BoxDecoration? iconPrefixDecoration,
- EdgeInsets? iconPrefixPadding,
- Widget? iconSufix,
- BoxDecoration? iconSufixDecoration,
- EdgeInsets? iconSufixPadding,
- Widget? widgetCenter = const Text('KIT BUTTONS', style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold)),
- double spaceItens = 10,
- BoxDecoration? decorationButton,
- MainAxisAlignment? mainAxisAlignment,
- bool shadowButton = true,
- GestureTapCallback? onTap,
- bool containColumn = false,
Implementation
KitButton(
{this.height = 80,
this.width = 200,
this.paddingButton =
const EdgeInsets.symmetric(horizontal: 10, vertical: 8),
this.marginButton = const EdgeInsets.all(8),
this.iconPrefix,
this.iconPrefixDecoration,
this.iconPrefixPadding,
this.iconSufix,
this.iconSufixDecoration,
this.iconSufixPadding,
this.widgetCenter = const Text(
'KIT BUTTONS',
style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold),
),
this.spaceItens = 10,
this.decorationButton,
this.mainAxisAlignment,
this.shadowButton = true,
this.onTap,
this.containColumn = false}) /*: super(key: key)*/;