screen_text_extractor 0.1.3 copy "screen_text_extractor: ^0.1.3" to clipboard
screen_text_extractor: ^0.1.3 copied to clipboard

This plugin allows Flutter desktop apps to extract text from screen.

screen_text_extractor #

pub version

This plugin allows Flutter desktop apps to extract text from screen.


English | 简体中文


Platform Support #

Linux macOS Windows
✔️ ✔️ ✔️

Quick Start #

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  screen_text_extractor: ^0.1.3

Or

dependencies:
  screen_text_extractor:
    git:
      url: https://github.com/leanflutter/screen_text_extractor.git
      ref: main

Usage #

import 'package:screen_text_extractor/screen_text_extractor.dart';

ExtractedData data;

data = await ScreenTextExtractor.instance.extractFromClipboard();
data = await ScreenTextExtractor.instance.extractFromScreenSelection();

Please see the example app of this plugin for a full example.

Who's using it? #

API #

ScreenTextExtractor #

Method Description Linux MacOS Windows
isAccessAllowed macOS only ✔️
requestAccess macOS only ✔️
extractFromClipboard ✔️ ✔️ ✔️
extractFromScreenSelection ✔️ ✔️ ✔️

License #

MIT

18
likes
140
points
145
downloads

Publisher

verified publisherleanflutter.dev

Weekly Downloads

This plugin allows Flutter desktop apps to extract text from screen.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

clipboard_watcher, flutter

More

Packages that depend on screen_text_extractor