17 lines
534 B
Dart
Executable File
17 lines
534 B
Dart
Executable File
import 'package:flutter_tts/flutter_tts.dart';
|
|
import 'package:get/get.dart';
|
|
import 'package:translator_lux/enum/tts_enum.dart';
|
|
|
|
class GlobalState {
|
|
static RxString fromCountryName = "English".obs;
|
|
static RxString fromCountryCode = "us".obs;
|
|
static RxString fromLanguageCode = "en".obs;
|
|
|
|
static RxString toCountryName = "Chinese".obs;
|
|
static RxString toCountryCode = "cn".obs;
|
|
static RxString toLanguageCode = "zh-cn".obs;
|
|
|
|
static FlutterTts ttsController = FlutterTts();
|
|
static TtsEnum ttsEnum = TtsEnum.stopped;
|
|
}
|