data_layer_flutter 0.0.2 copy "data_layer_flutter: ^0.0.2" to clipboard
data_layer_flutter: ^0.0.2 copied to clipboard

Provides Flutter-specific bindings for pkg:data_layer.

pub package

Data Layer Flutter #

An add-on to pkg:data_layer which provides Flutter-specific implementations of various interfaces.

See pkg:data_layer for more information.

Index #

Getting started #

Add the following to your pubspec.yaml:

dependencies:
  connectivity_plus: latest
  data_layer: ^0.0.6
  data_layer_flutter: ^0.0.2

Creating a SourceList with Connectivity awareness #

To enable retry policy with extra-smart connectivity awareness, provide not only a value for retryPolicy, but also the pkg:connectivity_plus-powered ConnectivityService.

SourceList(
  connectivityService: ConnectivityPlusStream(),
  retryPolicy: DefaultRetryPolicy(),
  sources: [
    ...
  ],
)
0
likes
150
points
34
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Provides Flutter-specific bindings for pkg:data_layer.

Repository (GitHub)
View/report issues

Topics

#caching #persistence #data-layer

License

MIT (license)

Dependencies

connectivity_plus, data_layer, flutter

More

Packages that depend on data_layer_flutter