TextToast constructor

const TextToast(
  1. String message, {
  2. Key? key,
  3. Duration showDuration = const Duration(seconds: 3),
  4. bool dismissible = true,
  5. ToastLocation location = ToastLocation.bottomLeft,
  6. Duration entryDuration = const Duration(milliseconds: 500),
})

Implementation

const TextToast(
  this.message, {
  super.key,
  this.showDuration = const Duration(seconds: 3),
  this.dismissible = true,
  this.location = ToastLocation.bottomLeft,
  this.entryDuration = const Duration(milliseconds: 500),
});