S360fToast constructor

const S360fToast({
  1. required String message,
  2. String? label = '',
  3. Duration duration = const Duration(seconds: 3),
  4. S360fToastType type = S360fToastType.info,
  5. VoidCallback? onDismissed,
  6. S360fToastPosition position = S360fToastPosition.topRight,
  7. AnimationController? animationController,
  8. bool handleOwnAnimation = true,
  9. 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,
});