local_file_screenshot_processor 0.0.2 copy "local_file_screenshot_processor: ^0.0.2" to clipboard
local_file_screenshot_processor: ^0.0.2 copied to clipboard

Custom processor for screenshots taken with the Device Preview utility

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]

4
likes
140
pub points
35%
popularity

Publisher

verified publisherthkp.co

Custom processor for screenshots taken with the Device Preview utility

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter, path_provider

More

Packages that depend on local_file_screenshot_processor