SubmitButton constructor
const
SubmitButton({
- Key? key,
- required Widget child,
- AbstractButtonStyle? style,
- Widget? loading,
- Widget? error,
- Widget? leading,
- Widget? trailing,
- AlignmentGeometry? alignment,
- Widget? loadingLeading,
- Widget? loadingTrailing,
- Widget? errorLeading,
- Widget? errorTrailing,
- bool disableHoverEffect = false,
- bool? enabled,
- bool? enableFeedback,
- bool disableTransition = false,
- 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,
});