RoundedButton constructor

const RoundedButton({
  1. Key? key,
  2. required dynamic onTap(),
  3. required String buttonText,
  4. Color? color,
  5. bool disabled = false,
  6. bool loading = false,
})

Implementation

const RoundedButton({
  Key? key,
  required this.onTap,
  required this.buttonText,
  this.color,
  this.disabled = false,
  this.loading = false,
}) : super(key: key);