22 lines
661 B
Dart
22 lines
661 B
Dart
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: "",
|
|
),
|
|
); |