Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error launching application on iPhone 11 Pro Max #22

Open
helloDolin opened this issue May 20, 2020 · 0 comments
Open

Error launching application on iPhone 11 Pro Max #22

helloDolin opened this issue May 20, 2020 · 0 comments

Comments

@helloDolin
Copy link

Compiler message:
lib/common/component_index.dart:7:1: Error: 'VersionModel' is exported from both
'package:green_travel_a/models/models.dart' and
'package:base_library/src/models/model.dart'.
export 'package:base_library/base_library.dart';
^
lib/ui/pages/main_page.dart:41:23: Error: Method not found: 'MyAppBar'.
appBar: new MyAppBar(
^^^^^^^^
lib/ui/pages/settings_page.dart:43:19: Error: The argument type 'Container
Function(BuildContext, AsyncSnapshot)' can't be assigned to the
parameter type 'Widget Function(BuildContext, AsyncSnapshot)'.

  • 'Container' is from 'package:flutter/src/widgets/container.dart'
    ('../../../.fvm/versions/1.12.13+hotfix.9-stable/packages/flutter/lib/src/widge
    ts/container.dart').
  • 'BuildContext' is from 'package:flutter/src/widgets/framework.dart'
    ('../../../.fvm/versions/1.12.13+hotfix.9-stable/packages/flutter/lib/src/widge
    ts/framework.dart').
  • 'AsyncSnapshot' is from 'package:flutter/src/widgets/async.dart'
    ('../../../.fvm/versions/1.12.13+hotfix.9-stable/packages/flutter/lib/src/widge
    ts/async.dart').
  • 'Widget' is from 'package:flutter/src/widgets/framework.dart'
    ('../../../.fvm/versions/1.12.13+hotfix.9-stable/packages/flutter/lib/src/widge
    ts/framework.dart').
  • 'VersionModel' is from 'package:green_travel_a/models/models.dart'
    ('lib/models/models.dart').
    (BuildContext context, AsyncSnapshot snapshot) {
    ^
    Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
    Failed to build bundle.
    Error launching application on iPhone 11 Pro Max
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant