CustomButton constructor
const
CustomButton({
- Key? key,
- Color? highlightColor,
- EdgeInsetsGeometry? padding,
- required Widget child,
- dynamic onPressed()?,
- Color? color,
Implementation
const CustomButton(
{Key? key,
this.highlightColor,
this.padding,
required this.child,
this.onPressed,
this.color,})
: super(key: key);