ListView constructor
ListView({
- List<
Widget> children = const <Widget>[], - String separator = '\n',
- ScrollController? controller,
- EdgeInsets? padding,
- bool handleKeys = true,
- int mouseWheelDelta = 3,
- Key? key,
Creates a list view that keeps child widgets mounted.
Implementation
ListView({
List<Widget> children = const <Widget>[],
this.separator = '\n',
this.controller,
this.padding,
this.handleKeys = true,
this.mouseWheelDelta = 3,
super.key,
}) : _children = children,
itemBuilder = null,
separatorBuilder = null,
itemCount = children.length;