PrimaryButton constructor
const
PrimaryButton({
- Key? key,
- VoidCallback? onPressed,
- required Widget child,
- Color? color,
- bool expand = true,
Implementation
const PrimaryButton({
super.key,
this.onPressed,
required this.child,
this.color,
this.expand = true,
});