Inheritance
System.Object
Scrollable
public class Scrollable : StatefulWidget
Constructors
Declaration
public Scrollable(Key key = null, AxisDirection axisDirection = AxisDirection.down, ScrollController controller = null, ScrollPhysics physics = null, ViewportBuilder viewportBuilder = null, DragStartBehavior dragStartBehavior = DragStartBehavior.down)
Parameters
Fields
Declaration
public readonly AxisDirection axisDirection
Field Value
Declaration
public readonly ScrollController controller
Field Value
Declaration
public readonly DragStartBehavior dragStartBehavior
Field Value
Declaration
public readonly ScrollPhysics physics
Field Value
Declaration
public readonly ViewportBuilder viewportBuilder
Field Value
Properties
Declaration
public Axis axis { get; }
Property Value
Methods
Declaration
public override State createState()
Returns
Overrides
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
ensureVisible(BuildContext, Single, Nullable<TimeSpan>, Curve)
Declaration
public static IPromise ensureVisible(BuildContext context, float alignment = 0F, TimeSpan? duration = default(TimeSpan? ), Curve curve = null)
Parameters
Type |
Name |
Description |
BuildContext |
context |
|
System.Single |
alignment |
|
System.Nullable<System.TimeSpan> |
duration |
|
Curve |
curve |
|
Returns
of(BuildContext)
Declaration
public static ScrollableState of(BuildContext context)
Parameters
Returns