working_hive 0.0.2 copy "working_hive: ^0.0.2" to clipboard
working_hive: ^0.0.2 copied to clipboard

Great flutter plugin which makes Working with Hive easier

Working Hive #

Easiest package which helps to work with the hive package #

https://www.buymeacoffee.com/heyom https://www.buymeacoffee.com/heyom


> Adding Permissions #

      <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
      <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

> Add this in Android Manifest #

   <application
        ...
        android:requestLegacyExternalStorage="true"
        ...
        </application>

Extreme Simple use of the package #

Initialize the class #

var hive = WorkingHive();

Set a path where you want to store the hive data #

 hive.initPath = 'what ever your path is';

Initialize the hive #

await hive.initiateHive();

Writing in hive #

await hive.writeHive('testKey', 'testData');

Reading in hive #

await hive.readHive('testKey');

Look at the example linked to know more #

https://pub.dev/packages/working_hive/example


Getting Started with Flutter #

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

2
likes
110
pub points
0%
popularity

Publisher

unverified uploader

Great flutter plugin which makes Working with Hive easier

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, hive

More

Packages that depend on working_hive