Shuttle Tracker in Flutter

Overview

Codemagic build status

Flutter ShuttleTracker

Flutter ShuttleTracker is a cross-platform port of ShuttleTracker that utilizes the Flutter SDK for development.

Showcase

Features

  • Map page that contains live updates for shuttles, routes, and stops

  • Routes page that allows users to see each route in detail and its associated stops

  • Schedules page that directs users to the schedules for all routes

  • Settings page that allows users to customize the app to their liking

  • Dark Mode

  • Automatic route toggling based on time of day

Setting up

  1. Install Flutter
  2. Clone the repository to your computer
  3. Open the project in your preferred editor
    • NOTE: VS Code and Android Studio are the recommended editors for Flutter
  4. Retrieve all the required dependencies with flutter pub get
  5. If you're in a different Flutter release channel, switch back to stable with flutter channel stable
  6. Open your preferred emulator (Android or iOS)
  7. Run the app by clicking the "green play button" on the top right of Android Studio or VS Code

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the GNU Affero General Public License - see the LICENSE.md file for details

Comments
  • cannot build app

    cannot build app

    /Users/pranav/.pub-cache/hosted/pub.dartlang.org/sqflite-1.2.1/ios/Classes/SqflitePlugin.m:2:9: warning: non-portable path to file '<fmdb/FMDB.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path] #import <FMDB/FMDB.h> ^~~~~~~~~~~~~ <fmdb/FMDB.h> 1 warning generated.

    Compiler message:
    ../../../.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.41.0/lib/src/platform_app.dart:66:23: Error: Type 'ActionFactory' not found.
      final Map<LocalKey, ActionFactory> actions;
                          ^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.41.0/lib/src/platform_app.dart:95:21: Error: Type 'ActionFactory' not found.
          Map<LocalKey, ActionFactory> actions,
                        ^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.41.0/lib/src/platform_app.dart:151:21: Error: Type 'ActionFactory' not found.
          Map<LocalKey, ActionFactory> actions,
                        ^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.41.0/lib/src/platform_app.dart:218:23: Error: Type 'ActionFactory' not found.
      final Map<LocalKey, ActionFactory> actions;
                          ^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.41.0/lib/src/platform_app.dart:66:23: Error: 'ActionFactory' isn't a type.
      final Map<LocalKey, ActionFactory> actions;
                          ^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.41.0/lib/src/platform_app.dart:95:21: Error: 'ActionFactory' isn't a type.
          Map<LocalKey, ActionFactory> actions,
                        ^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.41.0/lib/src/platform_app.dart:151:21: Error: 'ActionFactory' isn't a type.
          Map<LocalKey, ActionFactory> actions,
                        ^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.41.0/lib/src/platform_app.dart:218:23: Error: 'ActionFactory' isn't a type.
      final Map<LocalKey, ActionFactory> actions;
                          ^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.41.0/lib/src/platform_app.dart:306:30: Error: The argument type 'Map<LocalKey, invalid-type>' can't be assigned to the
    parameter type 'Map<Type, Action<Intent>>'.
     - 'Map' is from 'dart:core'.
     - 'LocalKey' is from 'package:flutter/src/foundation/key.dart' ('../../../flutter/packages/flutter/lib/src/foundation/key.dart').
     - 'Type' is from 'dart:core'.
     - 'Action' is from 'package:flutter/src/widgets/actions.dart' ('../../../flutter/packages/flutter/lib/src/widgets/actions.dart').
     - 'Intent' is from 'package:flutter/src/widgets/actions.dart' ('../../../flutter/packages/flutter/lib/src/widgets/actions.dart').
          actions: data?.actions ?? actions,
                                 ^
    ../../../.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.41.0/lib/src/platform_app.dart:359:30: Error: The argument type 'Map<LocalKey, invalid-type>' can't be assigned to the
    parameter type 'Map<Type, Action<Intent>>'.
     - 'Map' is from 'dart:core'.
     - 'LocalKey' is from 'package:flutter/src/foundation/key.dart' ('../../../flutter/packages/flutter/lib/src/foundation/key.dart').
     - 'Type' is from 'dart:core'.
     - 'Action' is from 'package:flutter/src/widgets/actions.dart' ('../../../flutter/packages/flutter/lib/src/widgets/actions.dart').
     - 'Intent' is from 'package:flutter/src/widgets/actions.dart' ('../../../flutter/packages/flutter/lib/src/widgets/actions.dart').
          actions: data?.actions ?? actions,
                                 ^
    ../../../.pub-cache/hosted/pub.dartlang.org/flutter_cupertino_settings-0.3.0/lib/widgets/secret.dart:41:58: Error: Getter not found: 'obscuringCharacter'.
                      _show ? widget.secret : RenderEditable.obscuringCharacter * widget.secret.length,
                                                             ^^^^^^^^^^^^^^^^^^
    Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
    build failed.
    Command PhaseScriptExecution failed with a nonzero exit code
    note: Using new build system
    note: Planning build
    note: Constructing build description
    
    opened by pranavpandey1998official 3
  • Add flutter web support

    Add flutter web support

    As indirectly requested in this issue, adding support for web builds. To achieve this, I also bumped all package versions to the latest ones to get the project to compile.

    opened by klydra 2
  • Test color helper functions

    Test color helper functions

    Added a new test group for the helper functions shadeColor and shadeValue. One of these tests uses the luma coefficients from the Recommendation 709 standard to determine and compare the darkness of a color after altering the shade by different amounts, and the other simply compares the blue channel of a color after its shade has been altered by different amounts.

    opened by MattCzyr 0
  • Test provider and repository

    Test provider and repository

    Created tests to ensure the data received from the provider and repository is valid. Since no assumptions can be made about the data that will be received at any given time, these tests primarily ensure that nothing received from the datafeed is null, everything is the proper type, and dark routes have the proper color and have a corresponding light route.

    opened by MattCzyr 0
  • Test models

    Test models

    Created tests for the creation of routes, points, schedules, stops, ETAs, and updates from JSON objects, as well as various functionality of each model such as ensuring dark routes have the proper color.

    opened by MattCzyr 0
  • Stop animation bug

    Stop animation bug

    After disconnecting from networking services, the AnimationController runs into the following error:

    ════════ Exception caught by animation library ═════════════════════════════════ The following StateError was thrown while notifying listeners for AnimationController: Bad state: Cannot add new events after calling close

    When the exception was thrown, this was the stack #2 MapState.emitMapEvent package:flutter_map/…/map/map.dart:223 #3 MapState._handleMoveEmit package:flutter_map/…/map/map.dart:209 #4 MapState.move package:flutter_map/…/map/map.dart:303 #5 MapControllerImpl.move package:flutter_map/…/map/map.dart:41 #6 _MapPageState._animatedMapMove. package:flutter_shuttletracker/…/map_page/map_page.dart:54 ... The AnimationController notifying listeners was: AnimationController#6f6c7(▶ 0.067) ════════════════════════════════════════════════════════════════════════════════

    bug 
    opened by samuelobe 0
Owner
RPI Web Technologies Group
WebTech is a student-run group that produces technological solutions to benefit RPI students.
RPI Web Technologies Group
Expenses tracker built with Flutter and Dart making use of Provider, Intl, Syncfusion Flutter Datepicker and more

expense_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if t

Atuoha Anthony 2 Dec 10, 2022
A simple crypto tracker Flutter app with cero third party package

Crypto Tracker A simple crypto tracker Flutter app with cero third party package, that incorparates the Nomics api. This application collects the hist

null 28 Oct 10, 2022
Flutter Time Tracker App

flutter_time_tracker_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you

Emre ARIK 1 Nov 23, 2021
COVID-19 Tracker Made with Flutter

Covid-19 Track Covid-19 Track is free and Open Source, Cross Platform Application developed using Flutter. Download the Latest version from the below

Adarsh Balachandran 5 Oct 15, 2020
Coronavirus Tracker Build with flutter

Covid 19 Tracker Are you a translator you can help by contributing here Description API Data is provided by Open Disease Data, Centers for Disease Con

kerron gordon 28 Oct 7, 2022
Bt - Budget Tracker App UI With Flutter

Budget Tracker App UI Download App Demo APK ⬇️ ?? Support me on Patreon Watch on

Neha Mishra 17 Nov 7, 2022
Spacex-Go Flutter App - Simple yet powerful, open-source SpaceX launch tracker

SpaceX GO- Rwema App! Simple yet powerful, open-source SpaceX launch tracker About the project The purpose of this project is

Rwema 31 Oct 5, 2022
Simple yet powerful, open-source SpaceX launch tracker.

SpaceX GO! Simple yet powerful, open-source SpaceX launch tracker About the project The purpose of this project is to develop the ultimate SpaceX expe

Jesús Rodríguez 782 Dec 24, 2022
Budget Tracker App UI

Budget Tracker App UI Support me on Patreon Watch on youtube Part I Watch on youtube Part II A new Flutter project. Getting Started This project is a

null 126 Dec 25, 2022
A personal expense tracker.

expenses A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Ismail Omodara 0 Jan 9, 2022
Weight Loss Tracker is an application dedicated to people who want to dump or maintain weight

Weight Loss Tracker is an application dedicated to people who want to dump or maintain weight. It allows you to keep an eye on your progress and pursue your weight goals.

Senior Mobile Developer 5 Jan 3, 2023
Flutter Music Player - First Open Source Flutter based material design music player with audio plugin to play local music files.

Flutter Music Player First Open Source Flutter based Beautiful Material Design Music Player(Online Radio will be added soon.) Demo App Play Store BETA

Pawan Kumar 1.5k Jan 8, 2023
a project for learning all Flutter Widgets , sync from flutter.dev the officia website.

Flutter Widgets Catalog (WIP) 计划 1、使用Flutter开发一个全平台的Flutter Widgets Catalog APP,并且开源。在这个APP中可以通过图形化的方式查看所有Widgets的介绍,示例,视频教程。 2、所有文档内容由前一天从flutter.dev

ezshine 32 Aug 3, 2022
A low-cost Flutter screen adaptation solution(一个极低成本的 Flutter 屏幕适配方案)

A low-cost Flutter screen adaptation solution(一个极低成本的 Flutter 屏幕适配方案) 100% 还原 UI,只需要按照设计图写的宽高写即可 先看图片,设置的标准宽度是 360 iPhone 8 --------------------------

聂志洋 108 Sep 27, 2022
Flutter 2.0 (Null safety) Basic, Dynamic & Silver style Staggered Grid views made using flutter staggered grid view package. 🦺

Staggered Grid View Developement Stack Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Nakshatra Singh 9 Oct 28, 2022
A Flutter package that makes it easy to customize and work with your Flutter desktop app's system tray.

system_tray A Flutter package that that enables support for system tray menu for desktop flutter apps. on Windows, macOS and Linux. Features: - Modify

AnTler 140 Dec 30, 2022
Email and Password Authentication In Flutter & Firebase in Flutter 2.2

Email and Password Authentication In Flutter & Firebase in Flutter 2.2

BackSlash Flutter 43 Nov 23, 2022
Learn Flutter on Flutter! A widget directory with implementation samples!

Fludget Browse through a variety of widgets used in flutter This application is developed to learn Flutter using Flutter. Different widgets used in fl

ACM VIT 29 Nov 23, 2022