flutter_db_inspector 2.0.0
flutter_db_inspector: ^2.0.0 copied to clipboard
Inspect, query and edit your Flutter app's local databases from DevTools, VS Code and Android Studio while it runs. Runtime, wire protocol and the DevTools extension in one package; add a connector pe [...]
2.0.0 #
Breaking. This package is now the runtime, the wire protocol and the DevTools extension. Connectors are no longer bundled.
flutter_db_inspector_coreandflutter_db_inspector_protocolare merged into this package and will not get further releases. The protocol alone is available aspackage:flutter_db_inspector/protocol.dart.- No connector is re-exported any more, so the package no longer pulls in
Realm, Isar, ObjectBox or any other database. Apps whose code generators
need a newer
analyzer/build/source_gen(for exampleretrofit_generator10) can now depend on it, and it compiles for Flutter web. - Pure Dart: no Flutter SDK dependency.
Migrating from 1.x #
- Keep
flutter_db_inspector: ^2.0.0and add one connector per storage the app uses, for exampleflutter_db_inspector_drift: ^2.0.0. - Import each connector next to the main library:
import 'package:flutter_db_inspector_drift/flutter_db_inspector_drift.dart'; - If you depended on
flutter_db_inspector_core(or_protocol), replace it withflutter_db_inspector: ^2.0.0and changepackage:flutter_db_inspector_core/flutter_db_inspector_core.dartimports topackage:flutter_db_inspector/flutter_db_inspector.dart.
1.0.0 #
- Initial release.
- Single package that bundles every connector: SQLite (sqflite, sqflite_common_ffi, Floor), Drift, Isar, ObjectBox, Realm, Sembast, Hive, SharedPreferences, Secure Storage and GetStorage.
- Inspect, query and edit local databases from DevTools, VS Code and Android Studio while the app runs.
- Ships the prebuilt DevTools extension in
extension/devtools. - Disabled in release builds, opens no network port, and supports read-only mode and value masking.
