AnimatedThemeModifier constructor
const
AnimatedThemeModifier({})
Creates an animated theme.
By default, the theme transition uses a linear curve. The data
and
child
arguments must not be null.
Implementation
const AnimatedThemeModifier({
super.key,
super.child,
super.modifierKey,
required this.data,
super.curve,
super.duration = kThemeAnimationDuration,
super.onEnd,
});