flowmap icon indicating copy to clipboard operation
flowmap copied to clipboard

Error: 'Action' is imported from both 'package:flutter/src/widgets/actions.dart' and 'package:flowmap/src/map.dart'.

Open LaxmikanthMadhyastha opened this issue 6 years ago • 0 comments

Hi,Im trying to use this package and when starting the project it is giving following error

`Compiler message: ../lib/src/widgets.dart:2:1: Error: 'Action' is imported from both 'package:flutter/src/widgets/actions.dart' and 'package:flowmap/src/map.dart'. import 'package:flowmap/flowmap.dart'; ^^^^^^ Compiler failed on /Users/7sugar/Downloads/flowmap-master/example/lib/main.dart

FAILURE: Build failed with an exception.

  • Where: Script '/Users/7sugar/Desktop/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 765

  • What went wrong: Execution failed for task ':app:compileFlutterBuildDebugArm64'.

Process 'command '/Users/7sugar/Desktop/flutter/bin/flutter'' finished with non-zero exit value 1

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 12sGradle task assembleDebug failed with exit code 1 `

I have also tried running the example project in the same repo and still i'm getting the same error

LaxmikanthMadhyastha avatar Nov 17 '19 06:11 LaxmikanthMadhyastha