Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

takeScreenshot() #14

Merged
merged 16 commits into from
Jul 24, 2023
Merged

takeScreenshot() #14

merged 16 commits into from
Jul 24, 2023

Conversation

passsy
Copy link
Owner

@passsy passsy commented Jul 24, 2023

Adds a simple way to take a screenshot

/// Takes a screenshot of the entire window
await takeScreenshot();

/// Takes a screenshot of a single Screen/Widget
final homePage = spotSingle<HomePage>();
await takeScreenshot(selector: homePage);

/// Use it as extension
await spotSingle<HomePage>().takeScreenshot();

@passsy passsy merged commit c088903 into main Jul 24, 2023
@passsy passsy deleted the screenshot branch July 24, 2023 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant