Casting issue on the stat_badge.dart
mcruzie opened this issue · 4 comments
mcruzie commented
Explicit casting is required at the beginning of the valueChanged() function.
T change = widget.statValue.number - _lastStatValue as T;
NoraGithub commented
THE SAME
meizushooter commented
the same
gxman commented
FAILURE: Build failed with an exception.
flutter/.pub-cache/hosted/pub.dartlang.org/provider-2.0.1+1/lib/src/provider.dart:179:19: Error: The method 'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'.
p1erre commented
Same issue here.