Skip to content

Commit

Permalink
Add act.enterText to README
Browse files Browse the repository at this point in the history
  • Loading branch information
rehlma committed Mar 19, 2024
1 parent acd1359 commit 6a441cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ void main() {
// Interact with widgets using `act`
final button = spot<FloatingActionButton>();
await act.tap(button);
final text = spot<TextField>();
await act.enterText(text, 'Hello World');
});
}
Expand Down

0 comments on commit 6a441cd

Please sign in to comment.