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
Note: strict-inference: true might be pain for someone.
Consider these two examples: Future.delayed(const Duration(seconds: 1)); Navigator.of(context).push(MaterialPageRoute(builder: (BuildContext context) => const Scaffold()));
In case of strict-inference: true this should look like this: Future<void>.delayed(const Duration(seconds: 1)); Navigator.of(context).push<void>(MaterialPageRoute(builder: (BuildContext context) => const Scaffold()));
v3.0.0 version supports
Dart ^2.17.0
These lines:
Should be changed to:
Source:
https://dart.dev/guides/language/analysis-options#enabling-additional-type-checks
The text was updated successfully, but these errors were encountered: