A generic asynchronous function that returns a Widget.
typedef OnDeferInit<T extends Widget?> = Future<T> Function();