Skip to content

AlabasterAxe/local_file_screenshot_processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

local_file_screenshot_processor

This is intended as a custom processor for the Device Preview utility to avoid issues with running into usage limitations for file.io.

Getting Started

See the example app for a full example, but using the local file utility should be as simple as specifying the localFileScreenshotProcessor as an argument to the ScreenshotPlugin:

DevicePreview(
  plugins: [
    const ScreenshotPlugin(processor: localFileScreenshotProcessor)
  ],
  builder: (context) {
    return MyApp();
  },
)

When using the device preview app, the absolute path of the screenshot should be copied to your clip board, which, in the case of an Android emulator, you can grab by executing adb pull [COPIED_PATH]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published