mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-26 04:48:51 +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);
|
|
}
|