KitButton constructor

KitButton({
  1. double height = 80,
  2. double width = 200,
  3. EdgeInsets paddingButton = const EdgeInsets.symmetric(horizontal: 10, vertical: 8),
  4. EdgeInsets marginButton = const EdgeInsets.all(8),
  5. Widget? iconPrefix,
  6. BoxDecoration? iconPrefixDecoration,
  7. EdgeInsets? iconPrefixPadding,
  8. Widget? iconSufix,
  9. BoxDecoration? iconSufixDecoration,
  10. EdgeInsets? iconSufixPadding,
  11. Widget? widgetCenter = const Text('KIT BUTTONS', style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold)),
  12. double spaceItens = 10,
  13. BoxDecoration? decorationButton,
  14. MainAxisAlignment? mainAxisAlignment,
  15. bool shadowButton = true,
  16. GestureTapCallback? onTap,
  17. 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)*/;