CircleListScrollView.useDelegate constructor
const
CircleListScrollView.useDelegate({
- Key? key,
- ScrollController? controller,
- ScrollPhysics? physics,
- required double itemExtent,
- ValueChanged<
int> ? onSelectedItemChanged, - bool clipToSize = true,
- bool renderChildrenOutsideViewport = false,
- required CircleListChildDelegate childDelegate,
- Axis axis = Axis.vertical,
- double radius = 100,
Constructs a list in which children are scrolled a wheel. Its children are managed by a delegate and are lazily built during layout.
Implementation
const CircleListScrollView.useDelegate({
Key? key,
this.controller,
this.physics,
required this.itemExtent,
this.onSelectedItemChanged,
this.clipToSize = true,
this.renderChildrenOutsideViewport = false,
required this.childDelegate,
this.axis = Axis.vertical,
this.radius = 100,
}) : assert(itemExtent > 0),
assert(
!renderChildrenOutsideViewport || !clipToSize,
RenderCircleListViewport
.clipToSizeAndRenderChildrenOutsideViewportConflict,
),
super(key: key);