XButton constructor

const XButton({
  1. required Widget child,
  2. VoidCallback? onPressed,
  3. VoidCallback? onLongPressed,
  4. XButtonType? buttonType,
  5. XButtonShape? buttonShape,
  6. BorderRadiusGeometry? borderRadius,
  7. Color? overlayColor,
  8. Size? minSize,
  9. EdgeInsetsGeometry? padding,
})

Implementation

const XButton(
    {required this.child,
    this.onPressed,
    this.onLongPressed,
    this.buttonType,
    this.buttonShape,
    this.borderRadius,
    this.overlayColor,
    this.minSize,
    this.padding});