UAnimatedContainer constructor

const UAnimatedContainer({
  1. Widget? child,
  2. Key? key,
  3. Duration duration = const Duration(milliseconds: 300),
  4. Curve curve = Curves.easeInOut,
  5. EdgeInsetsGeometry? padding,
  6. EdgeInsetsGeometry? margin,
  7. Color? color,
  8. Gradient? gradient,
  9. DecorationImage? image,
  10. BoxBorder? border,
  11. double? radius,
  12. BorderRadius? borderRadius,
  13. List<BoxShadow>? boxShadow,
  14. double? width,
  15. double? height,
  16. double? minWidth,
  17. double? maxWidth,
  18. double? minHeight,
  19. double? maxHeight,
  20. BoxConstraints? constraints,
  21. AlignmentGeometry? alignment,
  22. Clip clipBehavior = Clip.none,
  23. Matrix4? transform,
  24. AlignmentGeometry? transformAlignment,
  25. Decoration? foregroundDecoration,
  26. BoxShape shape = BoxShape.rectangle,
  27. BlendMode? backgroundBlendMode,
  28. GestureTapCallback? onTap,
  29. GestureTapCallback? onDoubleTap,
  30. GestureLongPressCallback? onLongPress,
  31. bool splash = false,
  32. Color? splashColor,
  33. Color? highlightColor,
  34. Color? hoverColor,
  35. double? pressedScale,
  36. MouseCursor? cursor,
  37. ValueChanged<bool>? onHover,
  38. double? opacity,
  39. String? tooltip,
  40. String? semanticsLabel,
  41. bool visible = true,
  42. String? heroTag,
  43. VoidCallback? onEnd,
  44. VoidCallback? onPress,
  45. BoxFit? fit,
  46. AlignmentGeometry fitAlignment = Alignment.center,
  47. double? scale,
  48. double? rotate,
  49. Offset? translate,
  50. bool center = false,
  51. bool safeArea = false,
  52. Axis? scrollable,
  53. ScrollController? scrollController,
  54. TextDirection? textDirection,
  55. int? expanded,
  56. int? flexible,
  57. bool positioned = false,
  58. double? left,
  59. double? top,
  60. double? right,
  61. double? bottom,
  62. double? positionedWidth,
  63. double? positionedHeight,
})

Implementation

const UAnimatedContainer({
  this.child,
  super.key,
  this.duration = const Duration(milliseconds: 300),
  this.curve = Curves.easeInOut,
  this.padding,
  this.margin,
  this.color,
  this.gradient,
  this.image,
  this.border,
  this.radius,
  this.borderRadius,
  this.boxShadow,
  this.width,
  this.height,
  this.minWidth,
  this.maxWidth,
  this.minHeight,
  this.maxHeight,
  this.constraints,
  this.alignment,
  this.clipBehavior = Clip.none,
  this.transform,
  this.transformAlignment,
  this.foregroundDecoration,
  this.shape = BoxShape.rectangle,
  this.backgroundBlendMode,
  this.onTap,
  this.onDoubleTap,
  this.onLongPress,
  this.splash = false,
  this.splashColor,
  this.highlightColor,
  this.hoverColor,
  this.pressedScale,
  this.cursor,
  this.onHover,
  this.opacity,
  this.tooltip,
  this.semanticsLabel,
  this.visible = true,
  this.heroTag,
  this.onEnd,
  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,
});