UColumn constructor

const UColumn({
  1. required List<Widget> children,
  2. Key? key,
  3. double spacing = 0,
  4. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  5. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  6. MainAxisSize mainAxisSize = MainAxisSize.max,
  7. double? width,
  8. double? height,
  9. double? minWidth,
  10. double? maxWidth,
  11. double? minHeight,
  12. double? maxHeight,
  13. EdgeInsetsGeometry? padding,
  14. EdgeInsetsGeometry? margin,
  15. double? radius,
  16. BorderRadius? borderRadius,
  17. BoxBorder? border,
  18. Color? color,
  19. Gradient? gradient,
  20. DecorationImage? image,
  21. List<BoxShadow>? boxShadow,
  22. BoxConstraints? constraints,
  23. AlignmentGeometry? alignment,
  24. Clip clipBehavior = Clip.hardEdge,
  25. Matrix4? transform,
  26. AlignmentGeometry? transformAlignment,
  27. Decoration? foregroundDecoration,
  28. BoxShape shape = BoxShape.rectangle,
  29. BlendMode? backgroundBlendMode,
  30. GestureTapCallback? onTap,
  31. GestureTapCallback? onDoubleTap,
  32. GestureLongPressCallback? onLongPress,
  33. GestureTapDownCallback? onTapDown,
  34. GestureTapUpCallback? onTapUp,
  35. GestureTapCancelCallback? onTapCancel,
  36. GestureTapCallback? onSecondaryTap,
  37. HitTestBehavior? hitTestBehavior,
  38. bool splash = false,
  39. Color? splashColor,
  40. Color? highlightColor,
  41. Color? hoverColor,
  42. double? pressedScale,
  43. MouseCursor? cursor,
  44. ValueChanged<bool>? onHover,
  45. double? opacity,
  46. String? tooltip,
  47. String? semanticsLabel,
  48. bool? semanticsButton,
  49. bool visible = true,
  50. String? heroTag,
  51. VoidCallback? onPress,
  52. BoxFit? fit,
  53. AlignmentGeometry fitAlignment = Alignment.center,
  54. double? scale,
  55. double? rotate,
  56. Offset? translate,
  57. bool center = false,
  58. bool safeArea = false,
  59. Axis? scrollable,
  60. ScrollController? scrollController,
  61. TextDirection? textDirection,
  62. int? expanded,
  63. int? flexible,
  64. bool positioned = false,
  65. double? left,
  66. double? top,
  67. double? right,
  68. double? bottom,
  69. double? positionedWidth,
  70. double? positionedHeight,
})

Implementation

const UColumn({
  required this.children,
  super.key,
  this.spacing = 0,
  this.mainAxisAlignment = MainAxisAlignment.start,
  this.crossAxisAlignment = CrossAxisAlignment.center,
  this.mainAxisSize = MainAxisSize.max,
  this.width,
  this.height,
  this.minWidth,
  this.maxWidth,
  this.minHeight,
  this.maxHeight,
  this.padding,
  this.margin,
  this.radius,
  this.borderRadius,
  this.border,
  this.color,
  this.gradient,
  this.image,
  this.boxShadow,
  this.constraints,
  this.alignment,
  this.clipBehavior = Clip.hardEdge,
  this.transform,
  this.transformAlignment,
  this.foregroundDecoration,
  this.shape = BoxShape.rectangle,
  this.backgroundBlendMode,
  this.onTap,
  this.onDoubleTap,
  this.onLongPress,
  this.onTapDown,
  this.onTapUp,
  this.onTapCancel,
  this.onSecondaryTap,
  this.hitTestBehavior,
  this.splash = false,
  this.splashColor,
  this.highlightColor,
  this.hoverColor,
  this.pressedScale,
  this.cursor,
  this.onHover,
  this.opacity,
  this.tooltip,
  this.semanticsLabel,
  this.semanticsButton,
  this.visible = true,
  this.heroTag,
  this.onPress,
  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,
});