A plugin to communicate directly with the Swiss Public Transport backend.
Demonstrates how to use the swiss_public_transport_plugin plugin.
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Add this to your package's pubspec.yaml file:
dependencies: swiss_public_transport_plugin: ^0.1.4
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.
Now in your Dart code, you can use:
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 Aug 18, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
Document public APIs. (-0.72 points)
105 out of 106 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.
lib/models/journey.dart. (-0.50 points)
lib/models/journey.dart reported 1 hint:
line 8 col 31: 'onError' is deprecated and shouldn't be used.
flutter format to format
|Dart SDK||>=2.1.0 <3.0.0|