You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following build error:
==>
../../../../.pub-cache/hosted/pub.dev/giffy_dialog-2.1.0/lib/src/giffy_modal.dart:5:1: Error: 'Image' is imported from both 'package:flutter/src/widgets/image.dart' and 'package:rive/src/rive_core/shapes/image.dart'.
import 'package:rive/rive.dart';
^^^^^
Target kernel_snapshot_program failed: Exception
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
Process 'command '/Users/lee/ToolKits/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 34s
Running Gradle task 'bundleRelease'... 34.7s
Gradle task bundleRelease failed with exit code 1
The text was updated successfully, but these errors were encountered:
I think this issue in file giffy_modal.dart in line 5, if this package using multiple Image classes from rive and material please owner add prefix in rive import like this
import 'package:rive/rive.dart' as rive ;
When this package using load image by Image class is one of the packages
Flutter 3.24.1
giffy_dialog: ^2.1.0
I am getting the following build error:
==>
../../../../.pub-cache/hosted/pub.dev/giffy_dialog-2.1.0/lib/src/giffy_modal.dart:5:1: Error: 'Image' is imported from both 'package:flutter/src/widgets/image.dart' and 'package:rive/src/rive_core/shapes/image.dart'.
import 'package:rive/rive.dart';
^^^^^
Target kernel_snapshot_program failed: Exception
FAILURE: Build failed with an exception.
Execution failed for task ':app:compileFlutterBuildRelease'.
BUILD FAILED in 34s
Running Gradle task 'bundleRelease'... 34.7s
Gradle task bundleRelease failed with exit code 1
The text was updated successfully, but these errors were encountered: