water 1.1.0+1

  • Readme
  • Changelog
  • Example
  • Installing
  • new80

water pub style: pedantic license

An implementation of HydratedStorage using Hive, a fast and lightweight key-value database

Usage #

final water = await Water.getInstance();

Example #

With HydratedBlocDelegate

BlocSupervisor.delegate = await WaterDelegate.build();

Desktop #

Until path_provder supports desktop, use this fork:

    url: https://github.com/google/flutter-desktop-embedding
    path: plugins/flutter_plugins/path_provider_fde
    ref: 4340dec47dd88206ed421d8c1c9ecdff2ba02fff

Changelog #

1.1.0+1 #

  • Moved linter config to dev_dependencies

1.1.0 #

  • Added WaterDelegate, and extension of HydratedBlocDelegate
  • Added support for desktop, web
  • Added macOS example target
  • Updated readme sample

1.0.0+2 #

  • Fixed license badge

1.0.0+1 #

  • Fixed wrong homepage

1.0.0 #

  • Added changelog
  • Bumped to major release

0.0.1 #

  • Initial release


example #

A new Flutter project.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  water: ^1.1.0+1

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:water/water.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jan 16, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5

Health suggestions

Format lib/src/delegate.dart.

Run flutter format to format lib/src/delegate.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.6.0 <3.0.0
flutter 0.0.0
hive ^1.1.1 1.3.0
hydrated_bloc ^3.0.0-dev.1 3.0.0
path_provider ^1.5.1 1.5.1
Transitive dependencies
bloc 3.0.0
collection 1.14.11 1.14.12
meta 1.1.8
path 1.6.4
platform 2.2.1
pointycastle 1.0.2
rxdart 0.23.1
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
pedantic ^1.8.0