Comments (5)
Fixed on 2.0.2-dev
from getx.
after adding get, i get this message, from macos build
Compiler message: ../../../../../.pub-cache/hosted/pub.dartlang.org/get-1.17.3/lib/src/snackbar/snack_route.dart:279:8: Error: The method 'SnackRoute.install' has more required arguments than those of overridden method 'OverlayRoute.install'. void install(OverlayEntry insertionPoint) { ^ ../../../../../development/flutter/packages/flutter/lib/src/widgets/routes.dart:41:8: Context: This is the overridden method ('install'). void install() { ^ Running pod install... 1.5s ../../../../../.pub-cache/hosted/pub.dartlang.org/get-1.17.3/lib/src/routes/default_route.dart:242:9: Error: No named parameter with the name 'animation'. animation: animation, ^^^^^^^^^ ../../../../../development/flutter/packages/flutter/lib/src/cupertino/route.dart:435:3: Context: Found this candidate, but the arguments don't match. CupertinoFullscreenDialogTransition({ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../../../../../.pub-cache/hosted/pub.dartlang.org/get-1.17.3/lib/src/snackbar/snack_route.dart:289:18: Error: Too many positional arguments: 0 allowed, but 1 found. Try removing the extra positional arguments. super.install(insertionPoint); ^ Building macOS application... [INFO:persistent_cache.cc(338)] PersistentCache::UpdateAssetPath: /Users/softmarshmallow/Documents/Apps/inked/inked-flutter/inked/build/macos/Build/Products/Debug/inked.app/Contents/Frameworks/App.framework/Resources/flutter_assets flutter: started application..
Read and documentation and use the correct version of Get.
You're using Get stable version on Beta/Dev/Master branch of Flutter.
from getx.
sorry, still getting the same error with get: ^2.0.1-dev
with flutter Flutter (Channel dev, v1.18.0-8.0.pre, on Mac OS X 10.15.1 19B88, locale en-US)
@jonataslaw
Compiler message:
../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1/lib/src/root/root_widget.dart:82:23: Error: Type 'ActionFactory' not found.
final Map<LocalKey, ActionFactory> actions;
^^^^^^^^^^^^^
../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1/lib/src/snackbar/snack_route.dart:279:8: Error: The method 'SnackRoute.install' has more required arguments than those of overridden method 'OverlayRoute.install'.
void install(OverlayEntry insertionPoint) {
^
../../../../../development/flutter/packages/flutter/lib/src/widgets/routes.dart:41:8: Context: This is the overridden method ('install').
void install() {
^
../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1/lib/src/routes/default_route.dart:242:9: Error: No named parameter with the name 'animation'.
animation: animation,
^^^^^^^^^
../../../../../development/flutter/packages/flutter/lib/src/cupertino/route.dart:435:3: Context: Found this candidate, but the arguments don't match.
CupertinoFullscreenDialogTransition({
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1/lib/src/snackbar/snack_route.dart:289:18: Error: Too many positional arguments: 0 allowed, but 1 found.
Try removing the extra positional arguments.
super.install(insertionPoint);
^
../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1/lib/src/root/root_widget.dart:82:23: Error: 'ActionFactory' isn't a type.
final Map<LocalKey, ActionFactory> actions;
^^^^^^^^^^^^^
and after few while, i found out that pubspec.lock's get version did not match and manually changed as 2.0.1-dev.
get:
dependency: "direct main"
description:
name: get
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.1-dev"
after that i get this new error
Compiler message:
../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1-dev/lib/src/root/root_widget.dart:82:23: Error: Type 'ActionFactory' not found.
final Map<LocalKey, ActionFactory> actions;
^^^^^^^^^^^^^
Building macOS application...
../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1-dev/lib/src/root/root_widget.dart:82:23: Error: 'ActionFactory' isn't a type.
final Map<LocalKey, ActionFactory> actions;
^^^^^^^^^^^^^
../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1-dev/lib/src/root/root_widget.dart:199:23: Error: The argument type 'Map<LocalKey, invalid-type>' can't be assigned to the parameter type 'Map<Type, Action<Intent>>'.
- 'Map' is from 'dart:core'.
- 'LocalKey' is from 'package:flutter/src/foundation/key.dart' ('../../../../../development/flutter/packages/flutter/lib/src/foundation/key.dart').
- 'Type' is from 'dart:core'.
- 'Action' is from 'package:flutter/src/widgets/actions.dart' ('../../../../../development/flutter/packages/flutter/lib/src/widgets/actions.dart').
- 'Intent' is from 'package:flutter/src/widgets/actions.dart' ('../../../../../development/flutter/packages/flutter/lib/src/widgets/actions.dart').
actions: widget.actions,
^
from getx.
sorry, still getting the same error with
get: ^2.0.1-dev
with flutterFlutter (Channel dev, v1.18.0-8.0.pre, on Mac OS X 10.15.1 19B88, locale en-US)
@jonataslawCompiler message: ../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1/lib/src/root/root_widget.dart:82:23: Error: Type 'ActionFactory' not found. final Map<LocalKey, ActionFactory> actions; ^^^^^^^^^^^^^ ../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1/lib/src/snackbar/snack_route.dart:279:8: Error: The method 'SnackRoute.install' has more required arguments than those of overridden method 'OverlayRoute.install'. void install(OverlayEntry insertionPoint) { ^ ../../../../../development/flutter/packages/flutter/lib/src/widgets/routes.dart:41:8: Context: This is the overridden method ('install'). void install() { ^ ../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1/lib/src/routes/default_route.dart:242:9: Error: No named parameter with the name 'animation'. animation: animation, ^^^^^^^^^ ../../../../../development/flutter/packages/flutter/lib/src/cupertino/route.dart:435:3: Context: Found this candidate, but the arguments don't match. CupertinoFullscreenDialogTransition({ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1/lib/src/snackbar/snack_route.dart:289:18: Error: Too many positional arguments: 0 allowed, but 1 found. Try removing the extra positional arguments. super.install(insertionPoint); ^ ../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1/lib/src/root/root_widget.dart:82:23: Error: 'ActionFactory' isn't a type. final Map<LocalKey, ActionFactory> actions; ^^^^^^^^^^^^^
and after few while, i found out that pubspec.lock's get version did not match and manually changed as 2.0.1-dev.
get: dependency: "direct main" description: name: get url: "https://pub.dartlang.org" source: hosted version: "2.0.1-dev"
after that i get this new error
Compiler message: ../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1-dev/lib/src/root/root_widget.dart:82:23: Error: Type 'ActionFactory' not found. final Map<LocalKey, ActionFactory> actions; ^^^^^^^^^^^^^ Building macOS application... ../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1-dev/lib/src/root/root_widget.dart:82:23: Error: 'ActionFactory' isn't a type. final Map<LocalKey, ActionFactory> actions; ^^^^^^^^^^^^^ ../../../../../.pub-cache/hosted/pub.dartlang.org/get-2.0.1-dev/lib/src/root/root_widget.dart:199:23: Error: The argument type 'Map<LocalKey, invalid-type>' can't be assigned to the parameter type 'Map<Type, Action<Intent>>'. - 'Map' is from 'dart:core'. - 'LocalKey' is from 'package:flutter/src/foundation/key.dart' ('../../../../../development/flutter/packages/flutter/lib/src/foundation/key.dart'). - 'Type' is from 'dart:core'. - 'Action' is from 'package:flutter/src/widgets/actions.dart' ('../../../../../development/flutter/packages/flutter/lib/src/widgets/actions.dart'). - 'Intent' is from 'package:flutter/src/widgets/actions.dart' ('../../../../../development/flutter/packages/flutter/lib/src/widgets/actions.dart'). actions: widget.actions, ^
In fact, the version released yesterday of the Dev branch has problems with two internal packages that used the same variable, and is causing conflict in the lib. I'm going to fix the mistake for myself now.
Thanks for mentioning the version you are using, it was trivial to track down the error.
from getx.
@jonataslaw thank you.
from getx.
Related Issues (20)
- Expanding the Back Gesture Area for Transition.cupertino HOT 6
- Variable Data in trouble HOT 1
- When the application has two levels of IndexedRouteBuilder, it does not work properly , The problem I'm having with nested routes.
- Why GetX 5 with nested navigation will remove previous route and delete its controller HOT 1
- Addition: Add option to get Current Router/dialog/pushed/pop in debug console in a Nice Looking UI with proper details as much as possible
- Feature Request: Comprehensive Debugging and Terminal Console Enhancements for GetX
- Feature Request: Native Support for GoRouter and Flutter Animate Integration in GetX
- Issue while getting location of android device using Google Maps
- Single Widget to Multiple Controllers
- GetX Get.changeTheme not update HOT 2
- GetX 5: initialRoute parameter of GetMaterialApp() is ignored, if a route with name '/' is registered
- Improve Documentation Using GitHub Copilot or Claude.AI
- Errors with `GetPage` Class in GetX 5.0.0 Release Candidate9.2 Unable to run any project URGENT
- Execution failed for task ':app:compileFlutterBuildDebug'. > Process 'command '/home/user/flutter/bin/flutter'' finished with non-zero exit value 1
- Error: Type 'PopInvokedWithResultCallback' not found. PopInvokedWithResultCallback<T>? onPopInvoked, HOT 2
- I want to add a method to remove pages.
- Get.back does not remove route from the stack of initially generated routes using multiple navigators with bottom navigation bar
- Hello, Can't find Get.Create() method in 5.0 γany instead? HOT 1
- Example code for Nested Navigation Nav2 with more than 3 pages/screens Using Getx5
- When using GetMaterialApp with PopScope(canPop: false), pressing the physical back button still results in being navigated back.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from getx.