defaultConfig property
Default configuration that can be customized globally
Implementation
static ToastrConfig defaultConfig = const ToastrConfig(
type: ToastrType.info,
message: '',
position: ToastrPosition.topRight,
duration: Duration(seconds: 5),
showDuration: Duration(milliseconds: 300),
hideDuration: Duration(milliseconds: 1000),
showMethod: ToastrShowMethod.fadeIn,
hideMethod: ToastrHideMethod.fadeOut,
showProgressBar: false,
showCloseButton: false,
preventDuplicates: false,
);