AnimatedOverflow constructor

const AnimatedOverflow({
  1. Key? key,
  2. AnimatedOverflowDirection? animatedOverflowDirection,
  3. Widget? child,
  4. double? maxHeight,
  5. double? maxWidth,
  6. double padding = 0.0,
  7. double speed = 50,
})

Implementation

const AnimatedOverflow({
  Key? key,
  this.animatedOverflowDirection,
  this.child,
  this.maxHeight,
  this.maxWidth,
  this.padding: 0.0,
  this.speed: 50,
})  : assert(animatedOverflowDirection != null && child != null),
      assert(animatedOverflowDirection != AnimatedOverflowDirection.VERTICAL || maxHeight != null),
      assert(animatedOverflowDirection != AnimatedOverflowDirection.HORIZONTAL || maxWidth != null),
      super(key: key);