CommonButton constructor
const
CommonButton({
- Key? key,
- String? label,
- ValueChanged<
BuildContext> ? onPressed, - double? width,
- double? height,
- Color? backgroundColor,
Implementation
const CommonButton({
Key? key,
this.label,
this.onPressed,
this.width,
this.height,
this.backgroundColor,
}) : super(key: key);