flutter_platform_storage 1.0.4+3

  • Readme
  • Changelog
  • Example
  • Installing
  • 0

flutter_platform_storage #

A plugin to detect the platform on any platform

Why does this packages have such a low score? #

Unfortunately the analysis tool thinks you can't import dart:html in a flutter package, but it's needed.

[ 1.0.4+3] - 20th of July 2019

  • Fix io storage not saving on desktop

[ 1.0.3+4] - 13th of July 2019

  • Add check if key is available

[ 1.0.2+3] - 8th of July 2019

  • Add support for direct JSON

[ 1.0.1+2] - 3rd of July 2019

  • Fix homepage URL

[ 1.0.0+1] - 3rd of July 2019

  • Plugin created

example/main.dart

/*
 Just a placeholder.
 Look at https://github.com/jld3103/ginko/app for an example.
 */

Use this package as a library

1. Depend on it

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


dependencies:
  flutter_platform_storage: ^1.0.4+3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or 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:flutter_platform_storage/flutter_platform_storage.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
--
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
--
Overall:
Weighted score of the above. [more]
0
Learn more about scoring.

This package is not analyzed, because it is discontinued.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0