A transformer for pub.
test folders and
eliminates a 404 get on the
.js files in absence of
internet by transforming
link[rel=stylesheet] remote sources into local ones.
This library is the dev dependency and works only for production build mode.
To use, add mk_static to your pubspec:
dev_dependencies: mk_static: "^1.0.0"
Then, add the transformer:
transformers: - mk_static
Also you can point to your files directly:
transformers: - mk_static: entry_points: - web/index.html
Please report bugs and feature requests.
Add this to your package's pubspec.yaml file:
dependencies: mk_static: "^1.0.0"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|1.0.0||Dec 15, 2017|
We analyzed this package on Jun 12, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
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]
Detected platforms: Flutter, web, other
Platform components identified in package:
The description is too long.
Search engines will display only the first part of the description. Try to keep it under 180 characters.
Fix analysis and formatting issues.
Analysis or formatting checks reported 8 hints.
Strong-mode analysis of
lib/src/js_processor.dartgave the following hint:
line: 3 col: 1
'barback' is deprecated and shouldn't be used.
Similar analysis of the following files failed:
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use
|Dart SDK||>=1.13.0 <2.0.0|