WeConfig constructor

WeConfig({
  1. WeToastInfoAlign toastInfoAlign = WeToastInfoAlign.center,
  2. int toastInfoDuration = 2500,
  3. int toastLoadingDuration = 5000,
  4. int toastSuccessDuration = 2500,
  5. int toastFailDuration = 2500,
  6. int notifyDuration = 3000,
  7. int notifySuccessDuration = 3000,
  8. int notifyErrorDuration = 3000,
})

Implementation

WeConfig({
  this.toastInfoAlign = WeToastInfoAlign.center,
  this.toastInfoDuration = 2500,
  this.toastLoadingDuration = 5000,
  this.toastSuccessDuration = 2500,
  this.toastFailDuration = 2500,
  this.notifyDuration = 3000,
  this.notifySuccessDuration = 3000,
  this.notifyErrorDuration = 3000,
});