ButtonWidget constructor

ButtonWidget({
  1. Key? key,
  2. VoidCallback? callback,
  3. String name = "",
  4. double? width,
  5. Color color = primary,
  6. double radius = 8,
  7. String? icon,
  8. double height = 40,
  9. double sizeIcon = 12,
  10. TextStyle textStyle = normalStyle,
  11. Color boderColor = Colors.transparent,
  12. double boderWidth = 0,
  13. Color textColor = white,
  14. 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);