FAnimatedTheme constructor
FAnimatedTheme({
- required FThemeData data,
- required Widget child,
- FAnimatedThemeMotion motion = const FAnimatedThemeMotion(),
- VoidCallback? onEnd,
- Key? key,
Creates an animated theme.
Implementation
FAnimatedTheme({
required this.data,
required this.child,
this.motion = const FAnimatedThemeMotion(),
super.onEnd,
super.key,
}) : super(duration: motion.duration, curve: motion.curve);