Giter VIP home page Giter VIP logo

shuttle-tracker-flutter's Issues

Compile to flutter web

Create a flutter web link with GitHub Pages or another free website host. This will be for easy example purposes.

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

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)
════════════════════════════════════════════════════════════════════════════════

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.