mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 21:09:21 +00:00
20 lines
483 B
Dart
20 lines
483 B
Dart
import 'package:flutter/cupertino.dart';
|
|
|
|
/// Application settings
|
|
///
|
|
/// @author Pierre Hubert
|
|
|
|
class ApplicationPreferences {
|
|
bool enableDarkMode;
|
|
bool forceMobileMode;
|
|
bool showPerformancesOverlay;
|
|
|
|
ApplicationPreferences({
|
|
@required this.enableDarkMode,
|
|
@required this.forceMobileMode,
|
|
@required this.showPerformancesOverlay,
|
|
}) : assert(enableDarkMode != null),
|
|
assert(forceMobileMode != null),
|
|
assert(showPerformancesOverlay != null);
|
|
}
|