hive_simple 1.0.0 copy "hive_simple: ^1.0.0" to clipboard
hive_simple: ^1.0.0 copied to clipboard

This plugin contains a set of classes that make it easy to use save and fetch data from hive db platform in Flutter. It supports Android and iOS.

hive-simple #

A library that exposes device specific speech recognition capability.

This plugin contains a set of classes that make it easy to use the voice recognition capabilities of the underlying platform in Flutter. It supports Android, iOS. The target use cases for this library are commands and short phrases, not continuous spoken conversion or always on listening.

Android iOS
Support SDK 21+ 10.0+

Features #

Use this plugin in your Flutter app to:

  • Easy to store data
  • Easy to fetch data.

Getting started #

This plugin relies on the flutter core.

Usage #

To use the plugin you just need to add hive_simple: ^1.0.0 into your pubspec.yaml file and run pub get.

Add following into your package's pubspec.yaml (and run an implicit dart pub get):

hive_simple: ^1.0.0

Example #

 import 'package:flutter/material.dart';
import 'package:hive_simple/hive_simple.dart';

void main() async {
WidgetsFlutterBinding.ensureInitialized();
// Add your function code here!
await DbMain.instance.dbInit();
runApp(const MyApp());
}

class MyApp extends StatelessWidget {
const MyApp({super.key});
/// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Voice Assistant',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const MyAppPage(title: 'Voice Assistant'),
);
}
}
///Example project main Screen
class MyAppPage extends StatefulWidget {
const MyAppPage({super.key, required this.title});

final String title;

@override
State<MyAppPage> createState() => _MyAppPageState();
}
class _MyAppPageState extends State<MyAppPage> {
String textStringValue = "";
List<dynamic> searchedData = [];
bool isSearching = false;

@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Colors.white,
iconTheme: const IconThemeData(
color: Colors.black, //change your color here
),
title:
Text(widget.title, style: const TextStyle(color: Colors.black)),
centerTitle: true,
elevation: 2.5,
actions: [
InkWell(
onTap: () {
},
child: Container(
margin: const EdgeInsets.only(right: 10),
child: const Icon(
Icons.list_alt,
)))
],
),
body: Center(
/// Center is a layout widget. It takes a single child and positions it
/// in the middle of the parent.
child: Container(),
));
}
}

Changelog #

All notable changes to this project will be documented in this file.

Issues #

To report your issues, submit them directly in the Issues section.

License #

this file.

2
likes
0
points
14
downloads

Publisher

verified publisherdexbytes.com

Weekly Downloads

This plugin contains a set of classes that make it easy to use save and fetch data from hive db platform in Flutter. It supports Android and iOS.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, hive, hive_flutter, path_provider

More

Packages that depend on hive_simple