ListView constructor
ListView({})
Creates a ListView containing the specified children.
Implementation
ListView({
super.key,
required this.children,
int selectedIndex = 0,
int? hoveredIndex,
this.itemStyle = Style.empty,
this.selectedStyle = const Style(modifiers: Modifier.reverse),
this.hoveredStyle,
this.showScrollbar = false,
this.onSelect,
this.onHover,
}) : initialSelectedIndex = selectedIndex,
initialHoveredIndex = hoveredIndex;