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 have set CPTabBarTemplate as a root template. on click of any CPListItem we are pushing CPListTemplate and methods "self.setDetailText" cause below error -
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: NoSuchMethodError: Class 'CPTabBarTemplate' has no instance getter 'sections'. Receiver: Instance of 'CPTabBarTemplate' Tried calling: sections #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:38:5) #1 FlutterCarPlayController.updateCPListItem.<anonymous closure> package:flutter_carplay/controllers/carplay_controller.dart:76 <asynchronous suspension>
I have set CPTabBarTemplate as a root template. on click of any CPListItem we are pushing CPListTemplate and methods "self.setDetailText" cause below error -
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: NoSuchMethodError: Class 'CPTabBarTemplate' has no instance getter 'sections'. Receiver: Instance of 'CPTabBarTemplate' Tried calling: sections #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:38:5) #1 FlutterCarPlayController.updateCPListItem.<anonymous closure> package:flutter_carplay/controllers/carplay_controller.dart:76 <asynchronous suspension>
Here is the Code - https://gist.github.com/Subhangi3/168c917dfb34e6eabdfcd2ecb6423e7e
The text was updated successfully, but these errors were encountered: