You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
220 B
Dart
13 lines
220 B
Dart
|
3 years ago
|
import 'package:flutter/material.dart';
|
||
|
|
|
||
|
|
class SettingsProvider with ChangeNotifier {
|
||
|
|
Locale? _locale;
|
||
|
|
|
||
|
|
Locale? get locale => _locale;
|
||
|
|
|
||
|
|
set locale(Locale? value) {
|
||
|
|
_locale = value;
|
||
|
|
notifyListeners();
|
||
|
|
}
|
||
|
|
}
|