Last updated:
0 purchases
screen text extractor
screen_text_extractor #
This plugin allows Flutter desktop apps to extract text from screen.
English | 简体中文
screen_text_extractor
Platform Support
Quick Start
Installation
Usage
Who's using it?
API
ScreenTextExtractor
License
Platform Support #
Linux
macOS
Windows
✔️
✔️
✔️
Quick Start #
Installation #
Add this to your package's pubspec.yaml file:
dependencies:
screen_text_extractor: ^0.1.3
copied to clipboard
Or
dependencies:
screen_text_extractor:
git:
url: https://github.com/leanflutter/screen_text_extractor.git
ref: main
copied to clipboard
Usage #
import 'package:screen_text_extractor/screen_text_extractor.dart';
ExtractedData data;
data = await ScreenTextExtractor.instance.extractFromClipboard();
data = await ScreenTextExtractor.instance.extractFromScreenSelection();
copied to clipboard
Please see the example app of this plugin for a full example.
Who's using it? #
Biyi (比译) - A convenient translation and dictionary app.
API #
ScreenTextExtractor #
Method
Description
Linux
MacOS
Windows
isAccessAllowed
macOS only
➖
✔️
➖
requestAccess
macOS only
➖
✔️
➖
extractFromClipboard
✔️
✔️
✔️
extractFromScreenSelection
✔️
✔️
✔️
License #
MIT
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.