spec constant

WidgetSpec const spec

Implementation

static const spec = WidgetSpec(
  'listView',
  props: [
    ...CollectionScrollProps.all, scrollable, itemExtent, separator, spacing, dividerThickness, dividerColor, //
    dividerIndent, dividerEndIndent, layout, reversePaintOrder, itemPosition, wrap, wrapSpacing, runSpacing,
    wrapAlignment, wrapCrossAlignment, stretchItems, pagination, reorder, sections, swipeActions, pullToRefresh,
    stickToEnd,
  ],
  children: ChildModel.list,
  slots: CollectionSlots.list,
  childFits: listChildFits,
  doc: 'Flutter `ListView`; the first child is the item.',
);