FPersistentSheetMotion class
The motion-related properties for a persistent sheet.
- Inheritance
-
- Object
- FSheetMotion
- FPersistentSheetMotion
- Mixed-in types
- Available extensions
Constructors
- FPersistentSheetMotion.new({Duration expandDuration = const Duration(milliseconds: 200), Duration collapseDuration = const Duration(milliseconds: 200), Curve curve = Curves.easeOutCubic})
-
Creates a FPersistentSheetMotion.
const
Properties
- collapseDuration → Duration
-
The duration of the sheet's collapsing animation. Defaults to 200ms.
finalinherited
- curve → Curve
-
The curve of the sheet's expansion and collapse. Defaults to Curves.easeOutCubic.
finalinherited
- expandDuration → Duration
-
The duration of the sheet's expansion animation. Defaults to 200ms.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
Object? _) → FPersistentSheetMotion -
Returns itself.
inherited
-
copyWith(
{Duration? expandDuration, Duration? collapseDuration, Curve? curve}) → FPersistentSheetMotion -
Available on FPersistentSheetMotion, provided by the $FPersistentSheetMotionTransformations extension
Returns a copy of this FPersistentSheetMotion with the given properties replaced. -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
lerp(
FPersistentSheetMotion other, double t) → FPersistentSheetMotion -
Available on FPersistentSheetMotion, provided by the $FPersistentSheetMotionTransformations extension
Linearly interpolate between this and another FPersistentSheetMotion using the given factort
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited