shared_prefs_resource 0.0.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • new72

shared_prefs_resource

An AsyncResource interface for Flutter shared preferences storage.

See https://pub.dartlang.org/packages/async_resource.

[0.0.1] - August 25, 2018

  • First release.

Use this package as a library

1. Depend on it

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


dependencies:
  shared_prefs_resource: ^0.0.1

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:shared_prefs_resource/shared_prefs_resource.dart';
  
Version Uploaded Documentation Archive
0.0.1 Aug 25, 2018 Go to the documentation of shared_prefs_resource 0.0.1 Download shared_prefs_resource 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
53
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
72
Learn more about scoring.

We analyzed this package on Sep 18, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.12.3
  • Flutter: 0.8.4

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Suggestions

Maintain an example.

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use shared_prefs_resource.dart.

Package is pre-v0.1 release.

While there is nothing inherently wrong with versions of 0.0.*, it usually means that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.19.0 <3.0.0
async_resource ^0.1.2 0.1.2
flutter 0.0.0
shared_preferences ^0.4.2 0.4.2
Transitive dependencies
async 2.0.8
charcode 1.1.2
collection 1.14.11
http 0.11.3+17
http_parser 3.1.3
js 0.6.1+1
meta 1.1.6
path 1.6.2
service_worker 0.2.3
sky_engine 0.0.99
source_span 1.4.1
string_scanner 1.0.4
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test