GFormSubmitButton constructor

const GFormSubmitButton({
  1. Key? key,
  2. GFormController? controller,
  3. required FutureOr<void> onSubmit(
    1. Map<String, String> values
    ),
  4. required Widget child,
  5. bool resetOnSuccess = false,
  6. ButtonStyle? style,
  7. Color loadingColor = Colors.white,
  8. double loadingSize = 24.0,
})

Implementation

const GFormSubmitButton({
  super.key,
  this.controller,
  required this.onSubmit,
  required this.child,
  this.resetOnSuccess = false,
  this.style,
  this.loadingColor = Colors.white,
  this.loadingSize = 24.0,
});