FadeSlideTransition class

Inheritance
Available Extensions

Constructors

FadeSlideTransition({Key? key, Offset originOffset = const Offset(0.0, 30.0), Duration delay = const Duration(milliseconds: 0), Duration duration = const Duration(milliseconds: 700), Curve fadeCurve = Curves.easeOut, Curve slideCurve = Curves.easeOut, Curve slideReverseCurve = Curves.easeIn, SlideDirection direction = SlideDirection.vertical, bool immediately = true, required _Builder builder})
const

Properties

builder → _Builder
builder有两个参数, 一个是BuildContext, 就是常规用法, 另一个是_controller, 是 为了在builder方法体中能够控制动画, 比如说进行动画的reverse.
final
delay Duration
延迟多久开始动画
final
direction SlideDirection
滑动的方向
final
duration Duration
动画持续多久
final
fadeCurve Curve
淡入淡出的curve
final
hashCode int
The hash code for this object.
no setterinherited
immediately bool
是否立即执行动画
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
originOffset Offset
初始的偏移量, 为了让child在动画之后位移到原来的位置, 而不是位移到别处去, 导致隐患.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slideCurve Curve
滑动的curve
final
slideReverseCurve Curve
逆向的滑动curve
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _FadeInSlideTransitionState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited