Flutter 仿滴滴出行~ 仿滴滴主界面,地图中心请求动效果,服务tabs展开效果,地址检索界面,城市列表界面。
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<invalid-type>)' can't be assigned to the parameter type 'Widget Function(BuildContext, AsyncSnapshot<VersionModel>)'. - '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<VersionModel> snapshot) { ^ Target kernel_snapshot failed: Exception: Errors during snapshot creation: null Failed to build bundle. Error launching application on iPhone 11 Pro Max
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by helloDolin and has received 0 comments.