mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-02 02:17:39 +00:00
14 lines
No EOL
300 B
Dart
14 lines
No EOL
300 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class Language with ChangeNotifier {
|
|
Language(this._currentLanguage);
|
|
|
|
String _currentLanguage;
|
|
|
|
String getCurrentLanguage() => _currentLanguage;
|
|
|
|
void setCurrentLanguage(String language) {
|
|
_currentLanguage = language;
|
|
notifyListeners();
|
|
}
|
|
} |