ToastOnInitStateCallback typedef
Callback for the toast widget's initState lifecycle hook.
Receives the toast display duration and animation animDuration.
Implementation
typedef ToastOnInitStateCallback =
Function(Duration toastDuration, Duration animDuration);