AnimatedFluentTheme constructor
const
AnimatedFluentTheme({
- Key? key,
- required FluentThemeData data,
- Curve curve = Curves.linear,
- Duration duration = kThemeAnimationDuration,
- VoidCallback? onEnd,
- required Widget child,
Creates an animated theme.
By default, the theme transition uses a linear curve. The data and child arguments must not be null.
Implementation
const AnimatedFluentTheme({
super.key,
required this.data,
super.curve,
super.duration = kThemeAnimationDuration,
super.onEnd,
required this.child,
});