Skip to content
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

[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: NoSuchMethodError: Class 'CPTabBarTemplate' has no instance getter 'sections'. #36

Open
Subhangi3 opened this issue Nov 3, 2022 · 0 comments

Comments

@Subhangi3
Copy link

Subhangi3 commented Nov 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant