OnFutureX<F> extension Null safety

on

Methods

future<T>(Future<T> future(), {void dispose()?, void initState()?, On<void>? onSetState, Key? key}) Widget
Used to listen to any kind of future. [...]
listenTo<T>(Injected<T> injected, {void dispose()?, void initState()?, On<void>? onSetState, Key? key, String? debugPrintWhenRebuild}) Widget
Used to listen to the stateAsync of an injected state. [...]