Lines 39-40 of badge.dart file explains the meaning of ignorePointer entity of the widget as follows:
Make it true to make badge intercept all taps
Make it false and all taps will be passed through the badge
The implemented logic seems to be the other way around, i.e. taps are intercepted by default (when this entity is false) and ignored when it is set to true.
I suggest swapping the wording true and false on these two lines of the source code (comment block only), such as:
Make it false to make badge intercept all taps
Make it true and all taps will be passed through the badge
No additional explanation is necessary
Lines 39-40 of badge.dart file explains the meaning of ignorePointer entity of the widget as follows:
Make it true to make badge intercept all taps
Make it false and all taps will be passed through the badge
The implemented logic seems to be the other way around, i.e. taps are intercepted by default (when this entity is false) and ignored when it is set to true.
I suggest swapping the wording true and false on these two lines of the source code (comment block only), such as:
Make it false to make badge intercept all taps
Make it true and all taps will be passed through the badge
No additional explanation is necessary