MainButton constructor

const MainButton({
  1. VoidCallback? onTap,
  2. Key? key,
  3. String? title,
  4. bool active = true,
  5. double? width,
  6. double? height,
  7. List<BoxShadow>? boxShadow,
  8. Widget? child,
  9. EdgeInsets? padding,
  10. Color? backgroundColor,
  11. TextStyle? style,
  12. Widget? icon,
  13. double? borerRadius,
  14. Border? border,
  15. EdgeInsets? margin,
})

Implementation

const MainButton({
  this.onTap,
  super.key,
  this.title,
  this.active = true,
  this.width,
  this.height,
  this.boxShadow,
  this.child,
  this.padding,
  this.backgroundColor,
  this.style,
  this.icon,
  this.borerRadius,
  this.border,
  this.margin,
});