pdf_ocr 1.1.0
pdf_ocr: ^1.1.0 copied to clipboard
A Flutter/Dart plugin for extracting text from PDF files using native Rust-powered OCR for fast and accurate results. Ideal for applications that need to process and analyze PDF documents on mobile an [...]
import 'package:example/home.dart';
import 'package:flutter/material.dart';
import 'package:pdf_ocr/clients/pdf_ocr_client.dart';
Future<void> main() async {
await PdfOcrClient.init();
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Example',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
useMaterial3: true,
),
home: const Scaffold(
body: Home(),
),
);
}
}