restui library

Classes

ApiBase
This class is a simple wrapper around http library it's main target is to handle auth headers. [...]
An abstract class that lets you create your own link [...]
ApiLinkUpdater<A extends ApiBase, L extends NotifierApiLink>
ApiRequest
ApiResponse
Caller<R>
Class that manages callback function invocation.
FileField
Represents File that can be attached to ApiRequest so can be sent to API with MultipartRequest
This ApiLink takes headers specified by headersToMap argument from response headers and then put to the next request headers. [...]
ApiLink that is mixed witch ChangeNotifier
Query<A extends ApiBase, R, V>
Widget responsible for refreshing part of the tree with updated data [...]
QueryState<A extends ApiBase, R, V>
RestApiBase
RestuiProvider<A extends ApiBase>
Provides API that extends ApiBase created by apiBuilder down the widget tree. [...]
Updater<A extends ApiBase, L extends Listenable>

Extensions

HttpMethodExtension

Enums

HttpMethod

Typedefs

ContextCreator<R>(BuildContext) → R
RestuiProvider
QueryCallBuilder<R, A extends ApiBase, V>(BuildContext context, A api, V variable) → Future<R>
QueryInitialDataBuilder<R, A extends ApiBase>(BuildContext context, A api) → R
QueryOnComplete<V>(BuildContext context, V value) → void
QueryShouldUpdate<A extends ApiBase, V>(BuildContext context, A api, V value) → bool
QueryWidgetBuilder<T>(BuildContext context, bool loading, T response) Widget
Query
UpdaterBuilder<A extends ApiBase>(BuildContext context, A api) Listenable
UpdaterTest<T>(T value) → bool
UpdaterWidgetBuilder<A extends ApiBase, L extends Listenable>(BuildContext context, A api, L link) Widget
Updaters

Exceptions / Errors

ApiException