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