spec constant

WidgetSpec const spec

Implementation

static const spec = WidgetSpec(
  'pageView',
  props: [
    CollectionScrollProps.scrollDirection, CollectionScrollProps.reverse, CollectionScrollProps.physics, //
    CollectionScrollProps.alwaysScroll, CollectionScrollProps.clipBehavior, CollectionScrollProps.itemCount,
    pageSnapping, padEnds, keepPage, initialPage, viewportFraction, allowImplicitScrolling, animationDuration,
    animationCurve, pageMotion, pageMotionBefore, paintOrder,
  ],
  children: ChildModel.list,
  childFits: cellChildFits,
  doc: 'Flutter `PageView`; the first child is the page.',
);