sized method

T sized({
  1. double? width,
  2. double? height,
  3. Size? size,
  4. double? dimension,
  5. Duration? duration,
  6. Curve? curve,
  7. VoidCallback? onEnd,
})

Adds UiSizedBox.

Implementation

T sized({
  double? width,
  double? height,
  Size? size,
  double? dimension,
  Duration? duration,
  Curve? curve,
  VoidCallback? onEnd,
}) =>
    addChild(UiSizedBox(
      width: width ?? size?.width ?? dimension,
      height: height ?? size?.height ?? dimension,
      duration: duration,
      curve: curve,
      onEnd: onEnd,
    ));