blofiretory
library
Typedefs
-
ManualPagedWidgetBuilder<T>
= Widget Function(BuildContext context, FireData<T> data, ManualPagedMeta meta)
-
-
OnExceptionCallback
= void Function(String)
-
-
OnSuccessCallback<T>
= Future<void> Function(T result)
-
Function which will be invoked after successful mutation/query
-
PagedListExecutor<T>
= Future<QuerySnapshot<T>> Function(BuildContext context, int skip)
-
-
PagedListWidgetBuilder<T>
= Widget Function(BuildContext context, T item)
-
-
PagedQueryExecutor<T>
= Future<QuerySnapshot<T>> Function(DocumentSnapshot<T>? last)
-
-
PagedRefreshExecutor<T>
= Future<QuerySnapshot<T>> Function()
-
-
QueryExecutor<T>
= Future<T> Function()
-
This can be both query and mutation since they return similar result.
-
ResourceMutationBuilder<B, D>
= Widget Function(BuildContext context, B cubit, D? data)
-
-
ResourceMutationOnError
= void Function(BuildContext context, String? message)
-
-
ResourceMutationOnSuccess<D>
= void Function(BuildContext context, D data)
-
-
ResourceQueryBuilder<D>
= Widget Function(BuildContext context, D data)
-
Cubit has its own uses here like in
BalanceText
etc
-
ResourceQueryOnSuccess<D>
= void Function(BuildContext context, D data)
-
-
ResourceQueryRetryBuilder<B>
= void Function(B cubit)
-
-
ResultParser<T>
= T Function(T result)
-
Parser must return expected result.
-
SearchBuilder
= Widget Function(BuildContext context, String query)
-