Launching lib\main.dart on sdk gphone x86 in debug mode...
lib\main.dart:1
/C:/Frameworks/flutter/.pub-cache/hosted/pub.dartlang.org/get-3.15.0/lib/get_navigation/src/extension_navigation.dart:235:37: Error: No named parameter with the name 'shadowThemeOnly'.
final theme = Theme.of(context, shadowThemeOnly: true);
^^^^^^^^^^^^^^^
/C:/Frameworks/flutter/packages/flutter/lib/src/material/theme.dart:119:20: Context: Found this candidate, but the arguments don't match.
static ThemeData of(BuildContext context) {
^^
/C:/Frameworks/flutter/.pub-cache/hosted/pub.dartlang.org/get-3.15.0/lib/get_navigation/src/extension_navigation.dart:431:43: Error: No named parameter with the name 'shadowThemeOnly'.
theme: Theme.of(key.currentContext, shadowThemeOnly: true),
^^^^^^^^^^^^^^^
/C:/Frameworks/flutter/packages/flutter/lib/src/material/theme.dart:119:20: Context: Found this candidate, but the arguments don't match.
static ThemeData of(BuildContext context) {
^^
flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 1.24.0-7.0.pre.69, on Microsoft Windows [Version 10.0.19041.572], locale ru-RU)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Android Studio (version 3.5)
[√] VS Code (version 1.50.1)
[√] Connected device (1 available)
• No issues found!
pubspec.yaml:
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
get: ^3.15.0
Related to that line: https://github.com/flutter/flutter/blob/b77088319acfd6189fb2b4cb37342de251e31201/packages/flutter/lib/src/material/theme.dart#L119
Changed by @goderbauer in that commit: https://github.com/flutter/flutter/commit/0490fd75aa5d59a7f2a4dae4c62543fc6e7b33cf#
I have the same issue
Flutter (Channel master, 1.24.0-7.0.pre.75, on Mac OS X 10.15.7 19H2 darwin-x64, locale ru)
I have the same issue
Flutter (Channel master, 1.24.0-7.0.pre.75, on Microsoft Windows [Versión 10.0.18363.1139], locale es-ES)
I will need to create another branch for this, and probably upload a beta version from Getx to the pub. However the master changes easily, I am waiting for the update to be consolidated in the dev.
I will need to create another branch for this, and probably upload a beta version from Getx to the pub. However the master changes easily, I am waiting for the update to be consolidated in the dev.
how long it will take time?
And does anyone know which function in this package that caused this problem?
I have the same issue.
I have the same issue. How much time will it take to fix the issue?
same issue .
I have the same issue
Flutter 1.24.0-8.0.pre.118 • channel master • https://github.com/flutter/flutter.git
Framework • revision a2fd69cdbf (4 days ago) • 2020-11-06 12:44:03 -0500
Engine • revision 4040862977
Tools • Dart 2.12.0 (build 2.12.0-27.0.dev)
Fix on 3.16.1
snapd of flutter has same issue nov 29 No named parameter with the name 'shadowThemeOnly'
nning "flutter pub get" in tipitaka-myanmar...
Launching lib/main.dart on sdk gphone x86 arm in debug mode...
lib/main.dart:1
/home/bhante/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/modal_bottom_sheet-0.2.0+1/lib/src/material_with_modal_page_route.dart:21:16: Error: Getter not found: 'opaque'.
assert(opaque),
^^^^^^
/home/bhante/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/modal_bottom_sheet-0.2.0+1/lib/src/bottom_sheets/cupertino_bottom_sheet.dart:339:46: Error: No named parameter with the name 'shadowThemeOnly'.
final isCupertinoApp = Theme.of(context, shadowThemeOnly: true) == null;
^^^^^^^^^^^^^^^
/home/bhante/snap/flutter/common/flutter/packages/flutter/lib/src/material/theme.dart:119:20: Context: Found this candidate, but the arguments don't match.
Look for previous comment, it's fixed.
I only got snapd flutter version yesterday.. so why would update fix it?
I only got snapd flutter version yesterday.. so why would update fix it?
In addition to updating Flutter, you need to update your dependencies.
Use the flutter pub upgrade command, and if you experience using constraints, update the package version to the most current version.
Update your dependencies, to the latest version, had the same issue but worked after updating all the dependencies.
in my case in put only get: in pubspec otherwise get: ^xxxx
I will need to create another branch for this, and probably upload a beta version from Getx to the pub. However the master changes easily, I am waiting for the update to be consolidated in the dev.
how long it will take time?
And does anyone know which function in this package that caused this problem?
Package is get: ^3.26.0
https://pub.dev/packages/get/install
Most helpful comment
Fix on 3.16.1