AnimatedWrap constructor
AnimatedWrap({
- Key? key,
- int itemCount = 0,
- Widget itemBuilder()?,
- Clip? clipBehavior,
- WrapCrossAlignment? crossAxisAlignment,
- double? runSpacing,
- double? spacing,
- WrapAlignment? runAlignment,
- WrapAlignment? alignment,
- Axis? direction,
- TextDirection? textDirection,
- VerticalDirection? verticalDirection,
- int columnCount = 1,
- ListAnimationType listAnimationType = ListAnimationType.Scale,
- SlideConfiguration? slideConfiguration,
- FadeInConfiguration? fadeInConfiguration,
- ScaleConfiguration? scaleConfiguration,
- FlipConfiguration? flipConfiguration,
- 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);