Hive_UI는 Hive NoSQL 데이터베이스와의 상호작용을 단순화하는 Flutter 패키지로, 데이터베이스 행을 보고 편집하고 생성할 수 있는 직관적이고 시각적인 인터페이스를 제공합니다. 개발 또는 디버깅 중 로컬 데이터를 효율적으로 관리하고자 하는 개발자를 위해 제작되었으며, 가볍고 빠른 저장 시스템인 Hive와 원활하게 통합됩니다. 코드를 수동으로 변경하지 않고도 실시간으로 데이터를 검사하고 수정할 수 있어 생산성을 향상시킵니다. Android, iOS, macOS, Windows, Linux 등 다양한 플랫폼을 지원하여 크로스플랫폼 애플리케이션에 유연하게 활용할 수 있습니다.
사용 사례
개발 디버깅
실시간 데이터 검사
로컬 데이터베이스 관리
빠른 프로토타이핑
앱에서의 데이터 시각화
시각적으로 Hive 레코드 편집
주요 기능
시각적 데이터 브라우저
라이브 행 편집
새 항목 생성이 쉬움
크로스 플랫폼 지원
무결점 Hive 통합
데이터베이스 작업을 위한 직관적인 사용자 인터페이스
적합한 대상
플러터 개발자
앱 디버거
로컬 데이터 테스터
빠른 애플리케이션 프로토타이핑
오프라인 저장소로 Hive를 사용하는 팀
고려 사항
생산 환경 사용을 위한 것이 아님
개발자 전용 설정이 필요합니다
Hive 데이터베이스 유형으로 제한됨
앱 크기가 약간 증가할 수 있습니다
개발 단계에서 가장 잘 사용됩니다
내장된 보안 기능 없음
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
Hive UI
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 )
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:
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.