otzaria_search_engine 0.7.2
otzaria_search_engine: ^0.7.2 copied to clipboard
Tantivy search engine for Otzaria
import 'package:flutter/material.dart';
import 'package:otzaria_search_engine/otzaria_search_engine.dart';
Future<void> main() async {
await RustLib.init();
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: const Text('flutter_rust_bridge quickstart')),
body: Center(
child: Text(
'Search Engine Example',
style: Theme.of(context).textTheme.bodyLarge,
),
),
));
}
}