Skip to content

Add .tester methods to patrol to be able to use settle functionality #3060

@Kendru98

Description

@Kendru98

Use case

We can use in patrol test await $.tester.tapAt(const Offset(0.5, 0.5)); but it does not use pumpAndSettle underneath so we need to add this manually. It will be nice to have all tester. methods in patrol but with settle funcition build in.

Proposal

instead of:
await $.tester.tapAt(const Offset(0.5, 0.5));
We could use:
$.tapAt(Const OffSet(0.5, 0.5),settlePolicy: SettlePolicy.settle)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions