flocon_database 2.0.1
flocon_database: ^2.0.1 copied to clipboard
Browse and query the SQLite databases of your app from the Flocon desktop debugger.
import 'package:flocon/flocon.dart';
import 'package:flocon_database/flocon_database.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
if (kDebugMode) {
// lists the SQLite files of the usual folders
await startFlocon((flocon) => flocon..install(const FloconDatabase()));
Flocon.database.register('Shared', '/path/to/shared.sqlite');
}
}