{"id":32279530,"url":"https://github.com/dexbytesinfotech/hive-simple","last_synced_at":"2026-02-23T14:33:57.308Z","repository":{"id":288027446,"uuid":"905748478","full_name":"dexbytesinfotech/hive-simple","owner":"dexbytesinfotech","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-15T06:44:10.000Z","size":325,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T17:10:41.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dexbytesinfotech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-19T12:51:33.000Z","updated_at":"2025-04-15T06:44:13.000Z","dependencies_parsed_at":"2025-04-15T07:38:19.143Z","dependency_job_id":"ead70ba1-6772-43ec-8fc3-fc7de2948ee0","html_url":"https://github.com/dexbytesinfotech/hive-simple","commit_stats":null,"previous_names":["dexbytesinfotech/hive-simple"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dexbytesinfotech/hive-simple","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexbytesinfotech%2Fhive-simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexbytesinfotech%2Fhive-simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexbytesinfotech%2Fhive-simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexbytesinfotech%2Fhive-simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dexbytesinfotech","download_url":"https://codeload.github.com/dexbytesinfotech/hive-simple/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexbytesinfotech%2Fhive-simple/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29745637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-23T00:33:34.348Z","updated_at":"2026-02-23T14:33:57.303Z","avatar_url":"https://github.com/dexbytesinfotech.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hive-simple\n\nThis is a Hive-based Flutter package designed to simplify data storage and management.\nWe have created a set of custom functions to add, update, and delete data, making it easy to\ninteract with your Hive database. The package eliminates the need to add a separate adapter for each\ntable, providing a more flexible and efficient way to manage data across your Flutter project.\n\nYou can use this package in any Flutter project, including those built with FlutterFlow. For\nFlutterFlow users, you can easily create tables directly from the FlutterFlow constants.\n\n|             | Android | iOS   |\n|:------------|:--------|:------|\n| **Support** | SDK 21+ | 10.0+ |\n\n## Features\n\nUse this plugin in your Flutter app to:\n\n* Easy to store data by calling await DbMain.instance.hiveAddItem(\n  tableName,\n  data, {\n  E Function(Map\u003cString, dynamic\u003e)? returnType,\n  bool? isAddedLocally = false,\n  String? keyToAvoidDuplicateEntry,\n  })\n* Easy to fetch data. calling await DbMain.instance.hiveGetItemList(\n  String tableName, {\n  E Function(Map\u003cString, dynamic\u003e)? fromJson, bool? isResentOnTop = true\n  })\n\n## Getting started\n\nThis plugin relies on the flutter core.\n\n## Usage\n\nTo use the plugin you just need to add hive_simple: ^1.0.2 into your pubspec.yaml file and run\npub get.\n\n#### Add following into your package's pubspec.yaml (and run an implicit dart pub get):\n\nhive_simple: ^1.0.2\n\n## Example\n\n     import 'package:flutter/material.dart';\n    import 'package:hive_simple/hive_simple.dart';\n    \n    void main() async {\n    WidgetsFlutterBinding.ensureInitialized();\n    // Add your function code here!\n    // Init Hive Db by call below \n    await DbMain.instance.dbInit();\n    // Add your hive box you have to add box before using it in init method\n    await DbMain.instance.createNewTable([\"users\",\"product\"]);\n    runApp(const MyApp());\n    }\n    \n    class MyApp extends StatelessWidget {\n    const MyApp({super.key});\n    /// This widget is the root of your application.\n    @override\n    Widget build(BuildContext context) {\n    return MaterialApp(\n    title: 'Voice Assistant',\n    theme: ThemeData(\n    primarySwatch: Colors.blue,\n    ),\n    home: const MyAppPage(title: 'Voice Assistant'),\n    );\n    }\n    }\n    ///Example project main Screen\n    class MyAppPage extends StatefulWidget {\n    const MyAppPage({super.key, required this.title});\n    \n    final String title;\n    \n    @override\n    State\u003cMyAppPage\u003e createState() =\u003e _MyAppPageState();\n    }\n    class _MyAppPageState extends State\u003cMyAppPage\u003e {\n    String textStringValue = \"\";\n    List\u003cdynamic\u003e searchedData = [];\n    bool isSearching = false;\n    \n    @override\n    Widget build(BuildContext context) {\n    return Scaffold(\n    appBar: AppBar(\n    backgroundColor: Colors.white,\n    iconTheme: const IconThemeData(\n    color: Colors.black, //change your color here\n    ),\n    title:\n    Text(widget.title, style: const TextStyle(color: Colors.black)),\n    centerTitle: true,\n    elevation: 2.5,\n    actions: [\n    InkWell(\n    onTap: () {\n    },\n    child: Container(\n    margin: const EdgeInsets.only(right: 10),\n    child: const Icon(\n    Icons.list_alt,\n    )))\n    ],\n    ),\n    body: Center(\n    /// Center is a layout widget. It takes a single child and positions it\n    /// in the middle of the parent.\n    child: Container(),\n    ));\n    }\n    }\n\n## Changelog\n\nAll notable changes to this project will be documented in [this file](./CHANGELOG.md).\n\n## Issues\n\nTo report your issues, submit them directly in\nthe [Issues](https://github.com/dexbytesinfotech/hive-simple/issues) section.\n\n## License\n\n[this file](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdexbytesinfotech%2Fhive-simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdexbytesinfotech%2Fhive-simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdexbytesinfotech%2Fhive-simple/lists"}