render method
Implementation
@override
Widget render(BuildContext context, AntdWrapStyle style) {
return Wrap(
direction: style.direction,
alignment: style.alignment,
spacing: style.spacing,
runAlignment: style.runAlignment,
runSpacing: style.runSpacing,
crossAxisAlignment: style.crossAxisAlignment,
textDirection: style.textDirection,
verticalDirection: style.verticalDirection,
clipBehavior: style.clipBehavior,
children: children.map((value) {
var index = children.indexOf(value);
return AntdScrollItemProvider(
index: index,
position: AntdScrollItemPosition.fromIndex(index, children.length),
child: value);
}).toList(),
);
}