カテゴリー・パッケージ・リポジトリを検索

hive_ui のカバー
パッケージ詳細v1.0.14

hive_ui

DBMS Hive Ui は、Hive データベースと作業するためのスマートな方法を提示するパッケージです。行の表示、編集、新しい行の作成が簡単です。

AndroidiOSmacOSWindowsLinux
30日間ダウンロード
660
いいね数
55
Pub ポイント
140

パッケージをインストール

flutter pub add hive_ui

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Hive_UI は、Hive NoSQL データベースとのインタラクションを簡素化するための Flutter パッケージであり、データベースの行を表示・編集・作成するための直感的で視覚的なインターフェースを提供します。開発やデバッグ中にローカルデータを効率的に管理したい開発者向けに設計されており、軽量で高速なストレージシステムである Hive とシームレスに統合されています。コードの手動変更なしにリアルタイムでのデータ確認および修正が可能となり、生産性を向上させます。Android、iOS、macOS、Windows、Linux など複数のプラットフォームをサポートしており、クロスプラットフォームアプリケーションに適しています。

用途

  • 開発デバッグ
  • リアルタイムデータの検査
  • ローカルデータベース管理
  • クイックプロトタイピング
  • アプリにおけるデータ可視化
  • ビジュアルに Hive レコードを編集する

主な機能

  • ビジュアルデータブラウザ
  • ライブ行編集
  • 新しいエントリの作成が簡単
  • クロスプラットフォーム対応
  • シームレスなHive統合
  • データベース操作のための直感的なUI

適している対象

  • Flutter開発者
  • アプリデバッガー
  • ローカルデータテスト担当者
  • 迅速なアプリケーションプロトタイピング
  • オフラインストレージにHiveを使用するチーム

注意事項

  • 本番環境での使用を想定していません
  • 開発者専用のセットアップが必要です
  • Hive データベースタイプに限定
  • アプリのサイズがわずかに増える可能性があります
  • 開発フェーズ中に最適に使用されます
  • 組み込みのセキュリティ機能なし

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Hive UI

Build Status

A Flutter package that allows you to easily work with Hive databases. With this package, you can explore all database boxes, edit table rows, add new rows to tables, search boxes by column name and value, delete rows or all data from a box, copy selected values and select specific color for the Hive UI view.

Features

  • Explore all database boxes
  • Edit any table rows and set new values
  • Add new row to table database
  • Search boxes by column name and value
  • Delete a single row or all data from a box
  • Copy selected values
  • Select specific color for the Hive UI view
  • Support all platfoem (Android - Web - IOS - Windows - Linux - Mac )

alt text alt text alt text alt text

Requirements

  • Hive must be installed
  • All boxes must be open
  • toJson and fromJson methods must be implemented for each box

Usage

  • Add the package as a dependency in your 'pubspec.yaml' file:
dependencies:
  hive_ui: ^1.0.4
  • Import the package in your dart file where you want to use it by adding the following line at the top of the file:
import 'package:hive_ui/hive_ui.dart';
  • To route to the Hive UI view:
     Navigator.push(
            context,
            MaterialPageRoute(builder: (context) => HiveBoxesView(
                hiveBoxes: Boxes.allBoxes,
                onError: (String errorMessage) =>
                {
                  print(errorMessage)
                })),
          );
  • Example for Box view:
class BoxExample extends HiveObject {
  BoxExample({
    this.id,
  });
  BoxExample.fromJson(dynamic json) {
    id = json['id'] ?? '';
  }
  @HiveField(0)
  String? id;
  Map<String, dynamic> toJson() {
    final Map<String, dynamic> map = <String, dynamic>{};
    map['id'] = id;
    }

Example

You can see a full example of how to use the package in the Example example directory.

Issues

If you encounter any issues while using the package, please file a bug report in the GitHub issue tracker.

Contributing

If you would like to contribute to the package, please read the contributing guidelines before submitting a pull request.

HiveBoxesView Parameters

Parameters Name
hiveBoxes The hiveBoxes parameter is a map of boxes to display. In this example, it is set to Boxes.allBoxes, which likely refers to a static property of a Boxes class that contains all the boxes that need to be displayed.
onError The onError parameter is a callback function that is called when an error occurs. In this example, it is set to a function that shows a toast message with the error message passed as a parameter.
dateFormat The dateFormat parameter is the format of the date and time that is used in the view. In this example, it is set to the format "yyyy-MM-dd".
appBarColor The appBarColor parameter is the color of the app bar. In this example, it is set to a variable called primaryColor.
columnTitleTextStyle he columnTitleTextStyle and rowTitleTextStyle parameters are the text styles of the column and row titles respectively. In this example, they are set to specific styles with fontWeight: FontWeight.w600 and fontSize: 14.sp for columns and fontSize: 12.sp for rows.

Free Software, Hell Yeah!

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。