ToastStyleFactory typedef
Typedef for toast style factory function.
The factory receives the ToastMeta and an updateMeta callback
to allow the widget to update position, duration, etc.
Implementation
typedef ToastStyleFactory = Widget Function(
ToastMeta meta,
void Function(ToastMeta) updateMeta,
);