ButtonWrapper constructor
const
ButtonWrapper({
- Key? key,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- required Widget? child,
- double? width,
- double? height,
- Color? backgroundColor,
- double borderRadius = 10,
- BoxDecoration? decoration,
- EdgeInsets? padding,
- bool splash = true,
- EdgeInsets? margin,
- Alignment? alignment,
- Clip? clipBehavior,
- bool active = true,
- Color? inactiveColor,
- Border? border,
- VoidCallback? onDoubleTapped,
- Color? hoverColor,
- Color? focusedColor,
- double? opacity,
- bool minimumSpace = false,
Implementation
const ButtonWrapper({
Key? key,
this.onTap,
this.onLongPress,
required this.child,
this.width,
this.height,
this.backgroundColor,
this.borderRadius = 10,
this.decoration,
this.padding,
this.splash = true,
this.margin,
this.alignment,
this.clipBehavior,
this.active = true,
this.inactiveColor,
this.border,
this.onDoubleTapped,
this.hoverColor,
this.focusedColor,
this.opacity,
this.minimumSpace = false,
}) : super(key: key);