flutter_spell_checker 1.0.3 flutter_spell_checker: ^1.0.3 copied to clipboard
A Flutter plugin that enables spell-checking with suggestions based on device language settings. Ideal for real-time text validation in multilingual applications.
import 'package:flutter/material.dart';
import 'spell_check_text_field.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
final TextEditingController controller = TextEditingController();
MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: const Text("Spell Check Example")),
body: Padding(
padding: const EdgeInsets.all(16.0),
child: SpellCheckTextField(
controller: controller,
),
),
),
);
}
}