skt 0.0.22 skt: ^0.0.22 copied to clipboard
A new flutter plugin project.
skt #
Flutter plugin project for supporting SKT Maps
Getting Started #
This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
skt-maps #
Table of Contents #
Quick Start #
Get all packages #
- For a single package, just run
flutter packages get
- To pull for all the packages in the project, run
dart ./scripts/cli/cli.dart getPackages
Run the Linter / Dart Analyzer / Formatter #
On the root, run dartanalyzer --fatal-infos --fatal-warnings .
Format
On the root, run dartfmt -w .
Run the tests #
Unit and Widget tests #
- Run:
flutter test
Get code coverage report
- On Jenkins, on every build there will be an option called
Test Coverage Report
that will display the report for the given build. - Locally:
- Make sure you have
lcov
installed (On MacOS,brew install lcov
). - Run unit tests with coverage and generate the HTML report:
./scripts/pipeline/generate_coverage.sh .
- Open
./coverage/html_report/index.html
in your browser. Enjoy it! ;)
- Make sure you have
Getting Started #
For help getting started with Flutter, view our online documentation.