Button constructor
const
Button({
- Key? key,
- EdgeInsets? margin,
- required Component child,
- EdgeInsets? padding,
- Unit? height,
- Unit? width,
- Styles? style,
- BorderRadius? borderRadius,
- Border? border,
- Color? color,
- Color? textColor,
- BoxShadow? shadow,
- required VoidCallback? onTap,
Implementation
const Button(
{super.key,
this.margin,
required this.child,
this.padding,
this.height,
this.width,
this.style,
this.borderRadius,
this.border,
this.color,
this.textColor,
this.shadow,
required this.onTap});