GeekAbdelouahed / flutter-reaction-button

Flutter Reaction Button is a customizable Flutter package that allows you to easily create interactive buttons with reaction emojis, similar to Facebook's iconic reaction buttons.
https://pub.dev/packages/flutter_reaction_button
MIT License
215 stars 78 forks source link

Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null. #42

Open denisviana opened 2 years ago

denisviana commented 2 years ago

Showing this warning when running on Flutter 3

: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
../…/ui/widget_size_render_object.dart:36
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../Development/flutter/packages/flutter/lib/src/widgets/binding.dart').
package:flutter/…/widgets/binding.dart:1
        WidgetsBinding.instance?.addPostFrameCallback((_) {