KeenerButton constructor

KeenerButton({
  1. Key? key,
  2. required bool disable,
  3. required String text,
  4. bool outlined = false,
  5. required VoidCallback? onPressed,
  6. IconData? iconData,
  7. IconPosition iconPosition = IconPosition.Right,
  8. String? svgPath,
  9. int flex = 1,
  10. Color? defaultColor,
  11. Color? outlinedColor,
  12. required bool loading,
})

Implementation

KeenerButton(
    {Key? key,
      required this.disable,
      required this.text,
      this.outlined = false,
      required this.onPressed,
      this.iconData,
      this.iconPosition = IconPosition.Right,
      this.svgPath,
      this.flex = 1,
      this.defaultColor,
      this.outlinedColor,
      required this.loading})
    : super(key: key);