AppButton constructor

const AppButton({
  1. Key? key,
  2. required VoidCallback? onPressed,
  3. Widget? child = const Text("BUTTON"),
  4. double borderRadius = 8.0,
})

Implementation

const AppButton({
  super.key,
  required this.onPressed,
  this.child = const Text("BUTTON"),
  this.borderRadius = 8.0,
});