Class ListView

Vertical or horizontal view on list data, with one scrollbar

class ListView
  : Widget

Constructors

NameDescription
this ()

Fields

TypeNameDescription
Widget delegate(int)
itemBuilder
uint
itemCount Number of widgets in the list
void delegate(int)
onItemClick Handle item click / activation (e.g. Space or Enter key pressed and mouse double clicked)
void delegate(int)
onSelect Handle selection change
orientation List orientation, vertical by default
bool
selectOnHover When true, mouse hover selects underlying item
_items

18 inherited fields

Methods

NameDescription
item (text) Create a standard item widget from a string or StringListValue.
opApply (callback)
build ()
createElement ()
createState ()
updateElement (element)

7 inherited methods

Inner classes

NameDescription
State