SplashSmoke constructor
SplashSmoke({
- Key? key,
- required Widget nextPage,
- required Widget child,
- TransitionType transitionType = TransitionType.fade,
- Object? arguments,
- String? routeName,
- Color backgroundColor = Colors.black,
- Color effectColor = const Color.fromRGBO(176, 176, 176, 1),
- Duration duration = const Duration(seconds: 8),
- Duration routeDuration = const Duration(seconds: 1),
- Duration durationColorEffect = const Duration(seconds: 1),
- double sigmaX = 100,
- double sigmaY = 100,
- Widget? rotatingLodingWidget,
- Curve curve = Curves.ease,
Implementation
SplashSmoke({
super.key,
required this.nextPage,
required this.child,
this.transitionType = TransitionType.fade,
this.arguments,
this.routeName,
this.backgroundColor = Colors.black,
this.effectColor = const Color.fromRGBO(176, 176, 176, 1),
this.duration = const Duration(seconds: 8),
this.routeDuration = const Duration(seconds: 1),
this.durationColorEffect = const Duration(seconds: 1),
this.sigmaX = 100,
this.sigmaY = 100,
this.rotatingLodingWidget,
this.curve = Curves.ease,
this.conditionalNavigation,
}) : assert(nextPage != null || conditionalNavigation != null,
'Either nextPage or conditionalNavigation must be provided');