overflow method

Widget overflow({
  1. Key? key,
  2. AlignmentGeometry alignment = Alignment.center,
  3. double? minWidth,
  4. double? maxWidth,
  5. double? minHeight,
  6. double? maxHeight,
  7. bool animate = false,
})

Implementation

Widget overflow({
  Key? key,
  AlignmentGeometry alignment = Alignment.center,
  double? minWidth,
  double? maxWidth,
  double? minHeight,
  double? maxHeight,
  bool animate = false,
}) =>
    animate
        ? _StyledAnimatedBuilder(
            key: key,
            builder: (animation) {
              return _AnimatedOverflowBox(
                child: this,
                alignment: alignment,
                minWidth: minWidth,
                maxWidth: minWidth,
                minHeight: minHeight,
                maxHeight: maxHeight,
                duration: animation.duration,
                curve: animation.curve,
              );
            },
          )
        : OverflowBox(
            key: key,
            alignment: alignment,
            minWidth: minWidth,
            maxWidth: minWidth,
            minHeight: minHeight,
            maxHeight: maxHeight,
            child: this,
          );