Class ListView
Vertical or horizontal view on list data, with one scrollbar
Constructors
Name | Description |
---|---|
this
()
|
Fields
Type | Name | Description |
---|---|---|
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 |
Widget[] |
_items
|
18 inherited fields
Methods
Name | Description |
---|---|
item
(text)
|
Create a standard item widget from a string or StringListValue .
|
opApply
(callback)
|
|
build
()
|
|
createElement
()
|
|
createState
()
|
|
updateElement
(element)
|
7 inherited methods
Inner classes
Name | Description |
---|---|
State
|