getbloc library Null safety

Classes

BaseController<State>
Controller<Event, State>
ListenerWidget
The ListenerWidget is a Listener Widget of the Controller's State.
StateBase<State>
StateController<State>

Functions

internalControllerTest<C extends BaseController<State>, State>({required C build(), State seed()?, dynamic act(C controller)?, Duration? wait, int skip = 0, dynamic expect()?, dynamic verify(C controller)?, dynamic errors()?}) Future<void>
Internal testController runner which is only visible for testing. This should never be used directly -- please use testController instead.
testController<C extends BaseController<State>, State>(String description, {required C build(), State seed()?, dynamic act(C controller)?, Duration? wait, int skip = 0, dynamic expect()?, dynamic verify(C controller)?, dynamic errors()?}) → void
Creates a new controller-specific test case with the given description. testController will handle asserting that the controller emits the expected states (in order) after act is executed. testController also handles ensuring that no additional states are emitted by closing the controller stream before evaluating the expectation. [...]