ImplicitlyAnimatedWidget constructor
Initializes fields for subclasses.
The curve
and duration
arguments must not be null.
Implementation
const ImplicitlyAnimatedWidget({
Key key,
this.curve = Curves.linear,
@required this.duration
}) : assert(curve != null),
assert(duration != null),
super(key: key);