material-components-flutter-adaptive icon indicating copy to clipboard operation
material-components-flutter-adaptive copied to clipboard

adaptive_navigation example does not build

Open jlangfor opened this issue 3 years ago • 1 comments

When attempting to run the example project using the command:

flutter run

You get the following error:

Because adaptive_navigation_example depends on adaptive_navigation from path which depends on adaptive_breakpoints ^0.1.2, adaptive_breakpoints ^0.1.2 is required. So, because adaptive_navigation_example depends on adaptive_breakpoints ^0.0.4, version solving failed.

This is due to the adaptive_breakpoints version in your pubspec.yaml was set to ^0.0.4 rather than ^0.1.4. It's an easy fix.

jlangfor avatar May 28 '22 10:05 jlangfor

please remove no need package as follow:

  • adaptive_navigation/example/pubspec.yaml
dependencies:
  flutter:
    sdk: flutter
  adaptive_navigation:
    path: ../
  # adaptive_breakpoints: ^0.1.4 <<<

huang12zheng avatar Jun 05 '22 04:06 huang12zheng