mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 06:19:22 +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);
|
|
}
|