38 lines
1.0 KiB
Dart
38 lines
1.0 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|
import 'package:mobile_scanner/mobile_scanner.dart';
|
|
import '../../model/edit_voice_to_text_model.dart';
|
|
import '../../model/voice_to_text_model.dart';
|
|
|
|
final listRekamanRwt = StateProvider<List<VoiceToTextModel>>(
|
|
(ref) => List.empty(growable: true),
|
|
);
|
|
|
|
final selectedVoiceIdx = StateProvider<String>((ref) => "0");
|
|
final selectedEdit = StateProvider<EditVoiceToTextModel>(
|
|
(ref) => EditVoiceToTextModel(
|
|
Voice2text_ID: "",
|
|
Voice2text_Note: "",
|
|
Voice2text_Url: "",
|
|
Voice2text_Created: "",
|
|
Voice2text_IsActive: "",
|
|
Voice2text_JsonData: "",
|
|
Voice2text_Text: "",
|
|
Voice2text_Updated: "",
|
|
Voice2text_User_ID: "",
|
|
),
|
|
);
|
|
|
|
//
|
|
final barcodeX = StateProvider<Barcode>(
|
|
(ref) => Barcode(),
|
|
);
|
|
|
|
final noteCtr = StateProvider<TextEditingController>(
|
|
(ref) => TextEditingController(text: ""),
|
|
);
|
|
|
|
final textCtr = StateProvider<TextEditingController>(
|
|
(ref) => TextEditingController(text: ""),
|
|
);
|