Skip to content

编译运行报错,是依赖问题吗? #129

Description

@JackLeeMing

Package file_picker:linux references file_picker:linux as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of file_picker to either avoid referencing a default implementation via platforms: linux: default_package: file_picker or add an inline implementation to file_picker via platforms: linux: pluginClass or dartPluginClass.

Package file_picker:macos references file_picker:macos as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of file_picker to either avoid referencing a default implementation via platforms: macos: default_package: file_picker or add an inline implementation to file_picker via platforms: macos: pluginClass or dartPluginClass.

Package file_picker:windows references file_picker:windows as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of file_picker to either avoid referencing a default implementation via platforms: windows: default_package: file_picker or add an inline implementation to file_picker via platforms: windows: pluginClass or dartPluginClass.

Warning: In index.html:35: Local variable for "serviceWorkerVersion" is deprecated. Use "{{flutter_service_worker_version}}" template token instead. See https://docs.flutter.dev/platform-integration/web/initialization for more details.
Warning: In index.html:52: "FlutterLoader.loadEntrypoint" is deprecated. Use "FlutterLoader.load" instead. See https://docs.flutter.dev/platform-integration/web/initialization for more details.
../../../.pub-cache/hosted/pub.dev/flutter_slidable-3.1.1/lib/src/notifications_old.dart:88:23: Error: The method 'hashValues' isn't defined for the class 'SlidableRatioNotification'.

  • 'SlidableRatioNotification' is from 'package:flutter_slidable/src/notifications_old.dart' ('../../../.pub-cache/hosted/pub.dev/flutter_slidable-3.1.1/lib/src/notifications_old.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'hashValues'.
    int get hashCode => hashValues(tag, ratio);
    ^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.dev/flutter_sticky_header-0.6.5/lib/src/widgets/sliver_sticky_header.dart:133:12: Error: The method 'hashValues' isn't defined for the class 'SliverStickyHeaderState'.
  • 'SliverStickyHeaderState' is from 'package:flutter_sticky_header/src/widgets/sliver_sticky_header.dart' ('../../../.pub-cache/hosted/pub.dev/flutter_sticky_header-0.6.5/lib/src/widgets/sliver_sticky_header.dart').

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions