1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-01-30 21:53:00 +00:00
comunicmobile/lib/models/application_preferences.dart

20 lines
483 B
Dart
Raw Normal View History

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