swiss_public_transport_plugin 0.1.8

  • Readme
  • Changelog
  • Example
  • Installing
  • 60

swiss_public_transport_plugin #

A plugin to communicate directly with the Swiss Public Transport backend.

0.0.1 #

  • Inital release

0.0.2 #

  • Updated pugin info

0.0.3 #

  • Updated pugin info
  • Added Licence

0.0.4 #

  • Added repository

0.0.5 #

  • Removed mock implementations

0.0.6 #

  • Improved Packages

0.0.7 #

  • Fixed issue where Android would not build

0.0.8 #

  • Fixed issue where Android would not build

0.1.0 #

  • Fixed issue where number is not a number

0.1.1 #

  • Fixed issue where number is not a number

0.1.2 #

  • Removed debug logs


swiss_public_transport_plugin_example #

Demonstrates how to use the swiss_public_transport_plugin plugin.

Getting Started #

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.

Use this package as a library

1. Depend on it

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

  swiss_public_transport_plugin: ^0.1.8

2. Install it

You can install packages from the command line:

with Flutter:

$ 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:swiss_public_transport_plugin/swiss_public_transport_plugin.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]
Learn more about scoring.

We analyzed this package on Jan 21, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5

Health issues and suggestions

Document public APIs. (-1 points)

105 out of 105 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.

Fix lib/models/journey.dart. (-0.50 points)

Analysis of lib/models/journey.dart reported 1 hint:

line 9 col 31: 'onError' is deprecated and shouldn't be used.

Fix lib/swiss_public_transport_plugin.dart. (-0.50 points)

Analysis of lib/swiss_public_transport_plugin.dart reported 1 hint:

line 8 col 30: The value of the field '_channel' isn't used.

Format lib/models/pass.dart.

Run flutter format to format lib/models/pass.dart.

Format lib/models/sections.dart.

Run flutter format to format lib/models/sections.dart.

Format lib/models/walk.dart.

Run flutter format to format lib/models/walk.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
http ^0.12.0+2 0.12.0+4
location ^2.3.5 2.3.5
Transitive dependencies
async 2.4.0
charcode 1.1.2
collection 1.14.11 1.14.12
http_parser 3.1.3
meta 1.1.8
path 1.6.4
pedantic 1.9.0
sky_engine 0.0.99
source_span 1.6.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies