AppButton constructor

const AppButton({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. required String title,
  4. bool loading = false,
  5. bool disableTouchWhenLoading = false,
  6. Color? bgColor,
  7. Color? txtColor,
  8. String? logoPath,
})

Implementation

const AppButton({
  super.key,
  this.onPressed,
  required this.title,
  this.loading = false,
  this.disableTouchWhenLoading = false,
  this.bgColor,
  this.txtColor,
  this.logoPath,
});