Skip to content

Incorrect description of ignorePointer #133

@alparslana

Description

@alparslana

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions