SubmitButton constructor

const SubmitButton({
  1. Key? key,
  2. required String text,
  3. VoidCallback? onPressed,
  4. bool isLoading = false,
  5. bool enabled = true,
  6. bool fullWidth = true,
})

Implementation

const SubmitButton({
  super.key,
  required this.text,
  this.onPressed,
  this.isLoading = false,
  this.enabled = true,
  this.fullWidth = true,
});