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