screen_text_extractor 0.1.3 screen_text_extractor: ^0.1.3 copied to clipboard
This plugin allows Flutter desktop apps to extract text from screen.
import 'package:flutter/material.dart';
import 'package:bot_toast/bot_toast.dart';
import './pages/home.dart';
void main() {
WidgetsFlutterBinding.ensureInitialized();
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(
primaryColor: const Color(0xff416ff4),
canvasColor: Colors.white,
scaffoldBackgroundColor: const Color(0xffF7F9FB),
dividerColor: Colors.grey.withOpacity(0.3),
),
builder: BotToastInit(),
navigatorObservers: [BotToastNavigatorObserver()],
home: const HomePage(),
);
}
}