1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-29 06:18:51 +00:00
comunicmobile/lib/models/application_preferences.dart

20 lines
483 B
Dart
Raw Normal View History

2020-05-12 17:00:35 +00:00
import 'package:flutter/cupertino.dart';
/// Application settings
///
/// @author Pierre Hubert
class ApplicationPreferences {
bool enableDarkMode;
2020-05-13 16:17:50 +00:00
bool forceMobileMode;
2020-05-13 16:26:21 +00:00
bool showPerformancesOverlay;
2020-05-12 17:00:35 +00:00
ApplicationPreferences({
2020-05-12 17:00:35 +00:00
@required this.enableDarkMode,
2020-05-13 16:17:50 +00:00
@required this.forceMobileMode,
2020-05-13 16:26:21 +00:00
@required this.showPerformancesOverlay,
2020-05-13 16:17:50 +00:00
}) : assert(enableDarkMode != null),
2020-05-13 16:26:21 +00:00
assert(forceMobileMode != null),
assert(showPerformancesOverlay != null);
2020-05-12 17:00:35 +00:00
}