Flutter ListView: its first child repeated per item.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
dividerColor
→ const PropDef<
Color> -
dividerEndIndent
→ const PropDef<
double> -
dividerIndent
→ const PropDef<
double> -
dividerThickness
→ const PropDef<
double> -
itemExtent
→ const PropDef<
double?> - Each item's extent along the scroll direction.
-
itemPosition
→ const PropDef<
Offset?> -
A ListLayout.stack list: where the item sits in the padded box when
its x/y aren't bound. Each item is placed from its data by binding its
root's
layout.xandlayout.yto an AxisPosition the item gives:"bind": {"layout.x": "${= {'start': item.px}}", "layout.y": "${= {'align': item.my / 50 - 1}}"}(startin pixels from the box's start,alignfrom -1 to 1 across it: a pin on a map that keeps its place at every size). -
jumpToLatest
→ const PropDef<
bool> -
A list that sticks to its end draws a jump-to-latest button while the
reader is scrolled up from the end; false draws none (a pill of the
writer's own reads the list's
scrollreactions instead). -
layout
→ const PropDef<
ListLayout> -
pagination
→ const PropDef<
Pagination?> -
Loads the items page by page, with pull to refresh (its footers are
the
loading,errorandendslots). -
pullToRefresh
→ const PropDef<
bool> -
Pulling the list past its start fires its
refreshreactions (areloadCloudData), with or without pagination (which reloads its first page too). A list with arefreshreaction refreshes this way too. -
refreshStyle
→ const PropDef<
RefreshStyle> - What a list pulled to refresh draws: a disc, or iOS's ticked spinner in the room the pull opens.
-
reorder
→ const PropDef<
ListReorder?> - Lets the user drag the items to a new place.
-
reversePaintOrder
→ const PropDef<
bool> - Paints a layered list's items in the opposite order.
-
runSpacing
→ const PropDef<
double> -
scrollable
→ const PropDef<
bool> - False builds every item without a viewport when the count is known and the list hugs its items (or stretches them across a cross axis it hugs).
-
sections
→ const PropDef<
ListSections?> -
Groups the items under headers (the
sectionHeaderslot). -
separator
→ const PropDef<
ListSeparator> -
spacing
→ const PropDef<
double> - The separator's extent; negative overlaps the items. Without a separator it is empty space (as a row's or column's spacing).
- spec → const WidgetSpec
-
stickToEnd
→ const PropDef<
bool> - Opens at the end (the newest message of a chat, the latest line of a log), keeps the items on screen in place when items are put before them (older messages loaded), and follows items added at the end only while it is scrolled to the end. The data stays in reading order (oldest first). A runtime that doesn't know it opens at the start.
-
stickToStart
→ const PropDef<
bool> - A running list over data keeps what is in view where it is when items are put before it or taken out before it (scroll anchoring, as a browser's): a newer message added to a reversed chat the reader has scrolled up in, a page of older items put at the start. At its very start it shows what is put there (true, as a browser does at the top of a page); false keeps what is in view there too, so items put at the start appear only once scrolled to, unless the list does not fill its view (a reversed chat that never moves when a message arrives). A list that sticks to its end keeps its place at its start either way.
-
stretchItems
→ const PropDef<
bool> - Every item as thick across the list as the thickest beside it.
-
swipeActions
→ const PropDef<
SwipeActions?> - Actions revealed behind a swiped item.
-
wrap
→ const PropDef<
bool> -
Flows the items onto further runs (
Wrap) instead of one line. -
wrapAlignment
→ const PropDef<
WrapAlignment> -
wrapCrossAlignment
→ const PropDef<
WrapCrossAlignment> -
wrapSpacing
→ const PropDef<
double>