XButton constructor

const XButton({
  1. Key? key,
  2. required Function onPressed,
  3. String? label,
  4. double radius = 5,
  5. XButtonStyle? style,
  6. TextStyle? textStyle,
  7. bool isLoading = false,
  8. bool isEnable = true,
  9. bool? isForceTap = false,
  10. Widget? child,
  11. double? width,
  12. double? height,
  13. bool widthInfinity = false,
})

Implementation

const XButton({
  super.key,
  required this.onPressed,
  this.label,
  this.radius = 5,
  this.style,
  this.textStyle,
  this.isLoading = false,
  this.isEnable = true,
  this.isForceTap = false,
  this.child,
  this.width,
  this.height,
  this.widthInfinity = false,
});