FAnimatedTheme constructor

FAnimatedTheme({
  1. required FThemeData data,
  2. required Widget child,
  3. FAnimatedThemeMotion motion = const FAnimatedThemeMotion(),
  4. VoidCallback? onEnd,
  5. 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);