step 4 : listing data rekaman audio
This commit is contained in:
22
lib/provider/voice_to_text_provider.dart
Normal file
22
lib/provider/voice_to_text_provider.dart
Normal file
@@ -0,0 +1,22 @@
|
||||
import 'package:flutter_riverpod/flutter_riverpod.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: "",
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user