FadeSlideIn class
Fades and slides the child in simultaneously.
Combines FadeTransition and SlideTransition for a polished entrance effect. This is the most commonly used animation pattern.
- Inheritance
-
- Object
- MotionTransition
- FadeSlideIn
Constructors
- FadeSlideIn({Offset offset = const Offset(0, 0.15)})
-
const
Properties
Methods
-
build(
BuildContext context, Animation< double> animation, Widget child) → Widget -
Builds the transitioning widget.
animationgoes from 0.0 (start) to 1.0 (fully visible). For enter transitions, 0→1. For exit transitions, 1→0.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator +(
MotionTransition other) → ComposedTransition -
Composes this transition with
otherso both effects apply simultaneously.inherited -
operator ==(
Object other) → bool -
The equality operator.
inherited