XButton constructor

XButton({
  1. Key? key,
  2. Color? color,
  3. String? text = '',
  4. double? circular = 2.5,
  5. Size? size,
  6. Color? borderColor = Colors.transparent,
  7. dynamic onTap()?,
  8. Widget? child,
  9. bool? loading = false,
  10. double? elevation,
  11. TextStyle? textStyle,
})

Implementation

XButton({
  super.key,
  this.color,
  this.text = '',
  this.circular = 2.5,
  this.size,
  this.borderColor = Colors.transparent,
  this.onTap,
  this.child,
  this.loading = false,
  this.elevation,
  this.textStyle,
});