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
When running the project, a couple of warnings like this are displayed:
../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_form_bloc-0.30.1/lib/src/flutter_typeahead.dart:985:22: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/Apps/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addPostFrameCallback((duration) {
^
In Flutter 3, WidgetsBinding.instance is no longer nullable, so the ?. operator is not necessary.
To Reproduce
Reproducible by using Flutter 3 and flutter_form_bloc: ^0.30.1.
The text was updated successfully, but these errors were encountered:
Describe the bug
When running the project, a couple of warnings like this are displayed:
In Flutter 3, WidgetsBinding.instance is no longer nullable, so the
?.
operator is not necessary.To Reproduce
Reproducible by using Flutter 3 and
flutter_form_bloc: ^0.30.1
.The text was updated successfully, but these errors were encountered: