Inheritance
System.Object
Dismissible
public class Dismissible : StatefulWidget
Constructors
Declaration
public Dismissible(Key key = null, Widget child = null, Widget background = null, Widget secondaryBackground = null, ConfirmDismissCallback confirmDismiss = null, VoidCallback onResize = null, DismissDirectionCallback onDismissed = null, DismissDirection direction = DismissDirection.horizontal, TimeSpan? resizeDuration = default(TimeSpan? ), Dictionary<DismissDirection? , float? > dismissThresholds = null, TimeSpan? movementDuration = default(TimeSpan? ), float crossAxisEndOffset = 0F, DragStartBehavior dragStartBehavior = DragStartBehavior.down)
Parameters
Fields
Declaration
public readonly Widget background
Field Value
Declaration
public readonly Widget child
Field Value
Declaration
public readonly ConfirmDismissCallback confirmDismiss
Field Value
Declaration
public readonly float crossAxisEndOffset
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly DismissDirection direction
Field Value
Declaration
public readonly Dictionary<DismissDirection? , float? > dismissThresholds
Field Value
Type |
Description |
System.Collections.Generic.Dictionary<System.Nullable<DismissDirection>, System.Nullable<System.Single>> |
|
Declaration
public readonly DragStartBehavior dragStartBehavior
Field Value
Declaration
public readonly TimeSpan? movementDuration
Field Value
Type |
Description |
System.Nullable<System.TimeSpan> |
|
Declaration
public readonly DismissDirectionCallback onDismissed
Field Value
Declaration
public readonly VoidCallback onResize
Field Value
Declaration
public readonly TimeSpan? resizeDuration
Field Value
Type |
Description |
System.Nullable<System.TimeSpan> |
|
Declaration
public readonly Widget secondaryBackground
Field Value
Methods
Declaration
public override State createState()
Returns
Overrides