-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to solved this debug error? E-commerce-app-ui-flutter #12
Comments
Update the I updated to the latest version by changing |
diff --git a/pubspec.yaml b/pubspec.yaml
index 5628656..2c14cdf 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -27,7 +27,7 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.3
- flutter_svg: ^0.18.0 # it help us to use SVG in our app
+ flutter_svg: ^0.22.0 # it help us to use SVG in our app
dev_dependencies:
flutter_test: |
HarishSTOnline
added a commit
to HarishSTOnline/E-commerce-App-UI-Flutter
that referenced
this issue
Oct 8, 2021
- flutter_svg package updated to latest version from 0.18.0 to 0.22.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i have updated dependency,
android studio version 2021.1.1 Canary 11
flutter version 2.5
debug error message:
Launching lib/main.dart on sdk gphone x86 arm in debug mode...
Running Gradle task 'assembleDebug'...
../../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.18.1/lib/src/picture_provider.dart:50:59: Error: No named parameter with the name 'nullOk'.
context != null ? Localizations.localeOf(context, nullOk: true) : null,
^^^^^^
../../flutter/packages/flutter/lib/src/widgets/localizations.dart:413:17: Context: Found this candidate, but the arguments don't match.
static Locale localeOf(BuildContext context) {
^^^^^^^^
FAILURE: Build failed with an exception.
The text was updated successfully, but these errors were encountered: