allReadyHandler method
void
allReadyHandler(
- void onReady(
- BuildContext context
- void onError(
- BuildContext context,
- Object? error
- Duration? timeout,
registers a handler that is called when the all-ready state is reached
it does not trigger a rebuild like allReady does
you can force a timeout Exceptions if allReady completed
within timeout
which will call onError
Implementation
void allReadyHandler(void Function(BuildContext context)? onReady,
{void Function(BuildContext context, Object? error)? onError,
Duration? timeout}) =>
widget._state.value.allReady(
onReady: onReady,
onError: onError,
timeout: timeout,
shouldRebuild: false);