Class PageView
Inheritance
System.Object
PageView
Syntax
public class PageView : StatefulWidget
Constructors
PageView(Key, Axis, Boolean, PageController, ScrollPhysics, Boolean, ValueChanged<Int32>, List<Widget>, DragStartBehavior, IndexedWidgetBuilder, SliverChildDelegate, Int32)
Declaration
public PageView(Key key = null, Axis scrollDirection = Axis.horizontal, bool reverse = false, PageController controller = null, ScrollPhysics physics = null, bool pageSnapping = true, ValueChanged<int> onPageChanged = null, List<Widget> children = null, DragStartBehavior dragStartBehavior = DragStartBehavior.down, IndexedWidgetBuilder itemBuilder = null, SliverChildDelegate childDelegate = null, int itemCount = 0)
Parameters
Fields
childrenDelegate
Declaration
public readonly SliverChildDelegate childrenDelegate
Field Value
controller
Declaration
public readonly PageController controller
Field Value
dragStartBehavior
Declaration
public readonly DragStartBehavior dragStartBehavior
Field Value
onPageChanged
Declaration
public readonly ValueChanged<int> onPageChanged
Field Value
pageSnapping
Declaration
public readonly bool pageSnapping
Field Value
Type |
Description |
System.Boolean |
|
physics
Declaration
public readonly ScrollPhysics physics
Field Value
reverse
Declaration
public readonly bool reverse
Field Value
Type |
Description |
System.Boolean |
|
scrollDirection
Declaration
public readonly Axis scrollDirection
Field Value
Methods
createState()
Declaration
public override State createState()
Returns
Overrides