UButtonSubmitCancel constructor
const
UButtonSubmitCancel({
- required VoidCallback onSubmit,
- VoidCallback? onCancel,
- String? submitTitle,
- String? cancelTitle,
- bool isLoading = false,
- bool enabled = true,
- Key? key,
- VoidCallback? onPress,
- VoidCallback? onLongPress,
- MouseCursor? cursor,
- ValueChanged<
bool> ? onHover, - EdgeInsetsGeometry? margin,
- double? opacity,
- bool visible = true,
- String? tooltip,
- String? heroTag,
- BoxFit? fit,
- AlignmentGeometry fitAlignment = Alignment.center,
- double? scale,
- double? rotate,
- Offset? translate,
- bool center = false,
- bool safeArea = false,
- Axis? scrollable,
- ScrollController? scrollController,
- TextDirection? textDirection,
- int? expanded,
- int? flexible,
- bool positioned = false,
- double? left,
- double? top,
- double? right,
- double? bottom,
- double? positionedWidth,
- double? positionedHeight,
Implementation
const UButtonSubmitCancel({
required this.onSubmit,
this.onCancel,
this.submitTitle,
this.cancelTitle,
this.isLoading = false,
this.enabled = true,
super.key,
this.onPress,
this.onLongPress,
this.cursor,
this.onHover,
this.margin,
this.opacity,
this.visible = true,
this.tooltip,
this.heroTag,
this.fit,
this.fitAlignment = Alignment.center,
this.scale,
this.rotate,
this.translate,
this.center = false,
this.safeArea = false,
this.scrollable,
this.scrollController,
this.textDirection,
this.expanded,
this.flexible,
this.positioned = false,
this.left,
this.top,
this.right,
this.bottom,
this.positionedWidth,
this.positionedHeight,
});