UButtonSubmitCancel constructor

const UButtonSubmitCancel({
  1. required VoidCallback onSubmit,
  2. VoidCallback? onCancel,
  3. String? submitTitle,
  4. String? cancelTitle,
  5. bool isLoading = false,
  6. bool enabled = true,
  7. Key? key,
  8. VoidCallback? onPress,
  9. VoidCallback? onLongPress,
  10. MouseCursor? cursor,
  11. ValueChanged<bool>? onHover,
  12. EdgeInsetsGeometry? margin,
  13. double? opacity,
  14. bool visible = true,
  15. String? tooltip,
  16. String? heroTag,
  17. BoxFit? fit,
  18. AlignmentGeometry fitAlignment = Alignment.center,
  19. double? scale,
  20. double? rotate,
  21. Offset? translate,
  22. bool center = false,
  23. bool safeArea = false,
  24. Axis? scrollable,
  25. ScrollController? scrollController,
  26. TextDirection? textDirection,
  27. int? expanded,
  28. int? flexible,
  29. bool positioned = false,
  30. double? left,
  31. double? top,
  32. double? right,
  33. double? bottom,
  34. double? positionedWidth,
  35. 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,
});