Button constructor
const
Button({
- required Widget child,
- required VoidCallback? onPressed,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- Color? color,
- Color? disabledColor,
- BorderRadius? borderRadius,
- double? width,
- double? height,
- double? minWidth,
- Decoration? decoration,
- Key? key,
Implementation
const Button({
required this.child,
required this.onPressed,
this.margin,
this.padding,
this.color,
this.disabledColor,
this.borderRadius,
this.width,
this.height,
this.minWidth,
this.decoration,
Key? key,
}) : super(key: key);