AppButton constructor
const
AppButton({
- Key? key,
- required VoidCallback? onPressed,
- Widget? child = const Text("BUTTON"),
- double borderRadius = 8.0,
Implementation
const AppButton({
super.key,
required this.onPressed,
this.child = const Text("BUTTON"),
this.borderRadius = 8.0,
});