InjectedX<T> extension Null safety

on

Methods

futureBuilder<F>({Future<F>? future(T? data, Future<T> asyncState)?, required Widget onWaiting()?, required Widget onError(dynamic)?, required Widget onData(F? data), void dispose()?, Key? key, On<void>? onSetState, SideEffects<F>? sideEffects}) Widget
Listen to a future from the injected model and rebuild this widget when it resolves. [...]
rebuilder(Widget builder(), {void initState()?, void dispose()?, Object watch()?, bool shouldRebuild()?, Key? key}) Widget
This method is deprecated. [...]
@Deprecated('Use rebuild instead')
streamBuilder<S>({required Stream<S>? stream(T? s, StreamSubscription? subscription), required Widget onWaiting()?, required Widget onError(dynamic)?, required Widget onData(S? data), Widget onDone(S data)?, void dispose()?, On<void>? onSetState, SideEffects<S>? sideEffects, Key? key}) Widget
Listen to a stream from the injected model and rebuild this widget when the stream emits data. [...]
whenRebuilder({required Widget onIdle(), required Widget onWaiting(), required Widget onData(), required Widget onError(dynamic), void initState()?, void dispose()?, bool shouldRebuild()?, Key? key}) Widget
This method is deprecated. [...]
@Deprecated('Use rebuild.onAll instead')
whenRebuilderOr({Widget onIdle()?, Widget onWaiting()?, Widget onError(dynamic)?, Widget onData()?, required Widget builder(), void initState()?, void dispose()?, Object watch()?, bool shouldRebuild()?, Key? key}) Widget
This method is deprecated. [...]
@Deprecated('Use rebuild.onOr instead')