Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: flutter_token_get: ^1.0.0+1
2. Install it
You can install packages from the command line:
$ 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:flutter_token_get/main.dart'; import 'package:flutter_token_get/network_utils.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]
We analyzed this package on Jul 8, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.8.4
- pana: 0.13.13
- Flutter: 1.17.5
Package not compatible with SDK dart
because of import path [flutter_token_get] that is in a package requiring null.
Package not compatible with runtime flutter-web on web
Because of the import of dart:io via the import chain
lib/main.dart. (-0.50 points)
lib/main.dart reported 1 hint:
line 107 col 50: 'display1' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is headline4. This feature was deprecated after v1.13.8..
flutter format to format
Maintenance issues and suggestions
Provide a file named
CHANGELOG.md. (-20 points)
Changelog entries help developers follow the progress of your package. See the example generated by
Support latest dependencies. (-20 points)
The version constraint in
pubspec.yaml does not support the latest published versions for 2 dependencies (
Maintain an example. (-10 points)
Create a short demo in the
example/ directory to show how to use this package.
Common filename patterns include
flutter_token_get.dart. Packages with multiple examples should provide
For more information see the pub package layout conventions.
Package is getting outdated. (-2.19 points)
The package was last published 53 weeks ago.
|Dart SDK||>=2.1.0 <3.0.0|