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

Exception initializing BuildTracker #3

Open
larssn opened this issue Oct 6, 2022 · 1 comment
Open

Exception initializing BuildTracker #3

larssn opened this issue Oct 6, 2022 · 1 comment

Comments

@larssn
Copy link

larssn commented Oct 6, 2022

Following the example from initializing BuildTracker, but it throws the following error:

I/flutter (11578): ══╡ EXCEPTION CAUGHT BY FLUTTER FRAMEWORK ╞═════════════════════════════════════════════════════════
I/flutter (11578): The following assertion was thrown:
I/flutter (11578): `TrackingBuildOwnerWidgetsBindingMixin` is required (<WidgetsFlutterBinding>)
I/flutter (11578): 'package:noob/src/build_tracker/build_tracker.dart':
package:noob/…/build_tracker/build_tracker.dart:1
I/ViewRootImpl@da141ad[FlutterActivity](11578): [DP] cancelDraw io.flutter.embedding.android.FlutterActivityAndFragmentDelegate$2@75849c1  isViewVisible: true
I/flutter (11578): Failed assertion: line 114 pos 9: 'WidgetsBinding.instance is TrackingBuildOwnerWidgetsBindingMixin'
I/flutter (11578):
I/flutter (11578): When the exception was thrown, this was the stack:
I/flutter (11578): #2      BuildTracker.enabled=
package:noob/…/build_tracker/build_tracker.dart:114
I/flutter (11578): #3      new BuildTracker
package:noob/…/build_tracker/build_tracker.dart:53
@Mijawel
Copy link

Mijawel commented Dec 13, 2022

same issue

@larssn larssn changed the title Excepting initializing BuildTracker Exception initializing BuildTracker Dec 13, 2022
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

2 participants