live_translate 1.0.0
live_translate: ^1.0.0 copied to clipboard
A drop-in Flutter widget for live, offline camera translation. Recognises text in the camera view, translates it on-device and paints it in place.
import 'package:flutter/material.dart';
import 'camera_screen.dart';
void main() => runApp(const ExampleApp());
/// The example app: a full-screen camera translating into the device's
/// language, with Lens-style language and freeze controls.
class ExampleApp extends StatelessWidget {
/// Creates the example app.
const ExampleApp({super.key});
@override
Widget build(BuildContext context) => MaterialApp(
title: 'live_translate',
theme: ThemeData(colorSchemeSeed: Colors.indigo),
home: const CameraScreen(),
);
}