ModulaToast constructor

ModulaToast({
  1. required String message,
  2. Duration duration = const Duration(seconds: 3),
  3. IconData? icon,
  4. Color backgroundColor = Colors.black87,
  5. Color textColor = Colors.white,
})

Implementation

ModulaToast({
  required this.message,
  this.duration = const Duration(seconds: 3),
  this.icon,
  this.backgroundColor = Colors.black87,
  this.textColor = Colors.white,
});