SubmitButton constructor

const SubmitButton({
  1. Key? key,
  2. required Widget child,
  3. AbstractButtonStyle? style,
  4. Widget? loading,
  5. Widget? error,
  6. Widget? leading,
  7. Widget? trailing,
  8. AlignmentGeometry? alignment,
  9. Widget? loadingLeading,
  10. Widget? loadingTrailing,
  11. Widget? errorLeading,
  12. Widget? errorTrailing,
  13. bool disableHoverEffect = false,
  14. bool? enabled,
  15. bool? enableFeedback,
  16. bool disableTransition = false,
  17. FocusNode? focusNode,
})

Implementation

const SubmitButton({
  super.key,
  required this.child,
  this.style,
  this.loading,
  this.error,
  this.leading,
  this.trailing,
  this.alignment,
  this.loadingLeading,
  this.loadingTrailing,
  this.errorLeading,
  this.errorTrailing,
  this.disableHoverEffect = false,
  this.enabled,
  this.enableFeedback,
  this.disableTransition = false,
  this.focusNode,
});