stacked icon indicating copy to clipboard operation
stacked copied to clipboard

The getter 'defaultDurationTransition' isn't defined for the class '_GetImpl'.

Open logblythe opened this issue 6 years ago • 3 comments

I have been following the version two of your architecture. I am getting this error.

../../flutter/.pub-cache/hosted/pub.dartlang.org/stacked_services-0.5.4+2/lib/src/navigation_service.dart:119:33: Error: The getter 'defaultDurationTransition' isn't defined for the class '_GetImpl'.

  • '_GetImpl' is from 'package:get/src/core/get_main.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/get-3.10.2/lib/src/core/get_main.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'defaultDurationTransition'. duration: duration ?? Get.defaultDurationTransition,

logblythe avatar Sep 10 '20 15:09 logblythe

I've been having the same problem. Adding get to pubspec with version 3.8.0, seems to solve it for now.

javdhu avatar Sep 10 '20 18:09 javdhu

Seems fixed in Stacked_Services 0.5.4+3

mistyn8 avatar Sep 11 '20 15:09 mistyn8

@logblythe @jdaev , @mistyn8 is correct. It's fixed in 0.5.4+3

FilledStacks avatar Sep 13 '20 08:09 FilledStacks