AnimatedWrap constructor

AnimatedWrap({
  1. Key? key,
  2. int itemCount = 0,
  3. Widget itemBuilder(
    1. BuildContext,
    2. int
    )?,
  4. Clip? clipBehavior,
  5. WrapCrossAlignment? crossAxisAlignment,
  6. double? runSpacing,
  7. double? spacing,
  8. WrapAlignment? runAlignment,
  9. WrapAlignment? alignment,
  10. Axis? direction,
  11. TextDirection? textDirection,
  12. VerticalDirection? verticalDirection,
  13. int columnCount = 1,
  14. ListAnimationType listAnimationType = ListAnimationType.Scale,
  15. SlideConfiguration? slideConfiguration,
  16. FadeInConfiguration? fadeInConfiguration,
  17. ScaleConfiguration? scaleConfiguration,
  18. FlipConfiguration? flipConfiguration,
  19. List<Widget>? children,
})

Implementation

AnimatedWrap({
  Key? key,
  this.itemCount = 0,
  this.itemBuilder,
  this.clipBehavior,
  this.crossAxisAlignment,
  this.runSpacing,
  this.spacing,
  this.runAlignment,
  this.alignment,
  this.direction,
  this.textDirection,
  this.verticalDirection,
  this.columnCount = 1,
  this.listAnimationType = ListAnimationType.Scale,
  this.slideConfiguration,
  this.fadeInConfiguration,
  this.scaleConfiguration,
  this.flipConfiguration,
  this.children,
})  : assert(
        (itemBuilder == null && children != null) ||
            (itemBuilder != null && children == null),
        'You must have to use children or itemBuilder',
      ),
      super(key: key);