FutureToolsCollectAsStateExt<T> extension

on

Methods

collectAsState({T? initial, T onError(Object error, StackTrace stackTrace)?, Cancellable? cancellable}) ValueNotifier<T>

Available on Future<T>, provided by the FutureToolsCollectAsStateExt extension

Collects the future as a ValueNotifier.