BaseButton constructor
const
BaseButton({
- Key? key,
- required Function onPressed,
- double? height,
- Color? bgColor,
- BorderRadiusGeometry? borderRadius,
- BorderSide borderSide = BorderSide.none,
- required Widget child,
- Color? splashColor,
Implementation
const BaseButton({
Key? key,
required this.onPressed,
this.height,
this.bgColor,
this.borderRadius,
this.borderSide = BorderSide.none,
required this.child,
this.splashColor,
}) : super(key: key);