wtg / shuttle-tracker-flutter Goto Github PK
View Code? Open in Web Editor NEWShuttle Tracker in Flutter
License: GNU Affero General Public License v3.0
Shuttle Tracker in Flutter
License: GNU Affero General Public License v3.0
If user clicks on the stop, center the map to that location and generate a pop up that displays the name of stop and other info.
Examples here:
http://bl.ocks.org/Xatpy/raw/854297419bd7eb3421d0/
Create a flutter web link with GitHub Pages or another free website host. This will be for easy example purposes.
Map tiles: Stamen Design (CC BY 3.0) Data: OpenStreetMap (ODbL)
/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
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)
════════════════════════════════════════════════════════════════════════════════
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.