Button constructor
const
Button({
- Key? key,
- BorderSide border = _defaultBorder,
- Widget? child,
- Color? color,
- VoidCallback? onPressed,
Buttons are clickable items used to perform an action.
Implementation
const Button({
super.key,
this.border = _defaultBorder,
this.child,
this.color,
this.onPressed,
});