FLUTTER ECOSYSTEM

Frezyx/storage_view

适用于任何数据库、存储和 shared_preferences 的 Flutter 检查工具。

storage_view 项目封面
Stars
14
Forks
3
最近推送(UTC)
2026年2月28日
项目状态
未归档
Stanislav Ilin GitHub avatar
GITHUB User

Stanislav Ilin ↗

Your code's boyfriend

语言C++CMakeDartRubyHTMLSwiftCKotlinShellObjective-CMakefile

技术话题

此仓库发布的插件

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

StorageView 🔎

Flutter inspector tool for any database, storage and shared_preferences.
Check and modify database values from UI of application.

Show some ❤️ and star the repo to support the project!

Getting started

Follow these steps to use this package

Add dependency
dependencies:
  storage_view: ^0.1.0-dev.5
Add import package
import 'package:storage_view/storage_view.dart';
Implement driver

The package uses a driver StorageDriver to interact with the database.
In order to connect your database you should use one of available drivers:

Or create your own StorageDriver implementation like there:

class MockStorageDriver implements StorageDriver {
  final _data = <String, dynamic>{
    'test_id' : 'test',
  };

  @override
  FutureOr<Set<String>> getKeys<String>() {
    return _data.keys.toSet() as Set<String>;
  }

  @override
  FutureOr<T?> read<T>(String key) {
    return _data[key] as T;
  }

  @override
  FutureOr<void> write<T>({required String key, required T value}) {
    _data[key] = value;
  }

  @override
  FutureOr<void> delete(String key) {
    _data.remove(key);
  }
}
Implement StoargeView

After the driver was connected, you can use StorageView anywhere in your application.

final _mockStorageDriver = MockStorageDriver();
Scaffold(
    body: StorageView(storageDriver: _mockStorageDriver),
),

Repository views

Additional information

The project is under development and ready for your pull-requests and issues 👍
Thank you for support ❤️

For help getting started with 😍 Flutter, view online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.