S360fToast constructor
const
S360fToast({
- required String message,
- String? label = '',
- Duration duration = const Duration(seconds: 3),
- S360fToastType type = S360fToastType.info,
- VoidCallback? onDismissed,
- S360fToastPosition position = S360fToastPosition.topRight,
- AnimationController? animationController,
- bool handleOwnAnimation = true,
- Key? key,
Implementation
const S360fToast({
required this.message,
this.label = '',
this.duration = const Duration(seconds: 3),
this.type = S360fToastType.info,
this.onDismissed,
this.position = S360fToastPosition.topRight,
this.animationController,
this.handleOwnAnimation = true,
super.key,
});