FSStaggeredFadeIn.themed constructor
FSStaggeredFadeIn.themed({})
Create with theme configuration
Implementation
factory FSStaggeredFadeIn.themed({
Key? key,
required BuildContext context,
required List<Widget> children,
Duration? duration,
Duration staggerDelay = const Duration(milliseconds: 100),
Curve? curve,
bool autoPlay = true,
bool maintainState = true,
String? semanticLabel,
bool respectSystemPreferences = true,
}) {
final theme = theme_lib.FSTheme.of(context);
return FSStaggeredFadeIn(
key: key,
children: children,
duration: duration ?? theme.animation.duration,
staggerDelay: staggerDelay,
curve: curve ?? theme.animation.curve,
autoPlay: autoPlay,
maintainState: maintainState,
semanticLabel: semanticLabel,
respectSystemPreferences: respectSystemPreferences,
);
}