CuReButton constructor

const CuReButton({
  1. Key? key,
  2. CuReButtonType? type,
  3. CuReShape? shape,
  4. String? label,
  5. IconData? icon,
  6. CuReIconPosition? iconPosition,
  7. Function? onPressed,
  8. bool? isLoading,
  9. Size? minSize,
  10. Widget? child,
  11. bool? disabled,
  12. Color? color,
  13. Widget? customPrefix,
  14. double? iconSize,
  15. EdgeInsets? padding,
  16. EdgeInsets? margin,
  17. CuReButtonSize? size,
})

Implementation

const CuReButton({
  super.key,
  this.type,
  this.shape,
  this.label,
  this.icon,
  this.iconPosition,
  this.onPressed,
  this.isLoading,
  this.minSize,
  this.child,
  this.disabled,
  this.color,
  this.customPrefix,
  this.iconSize,
  this.padding,
  this.margin,
  this.size,
});