1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Can toggle dark mode from menu on tablet mode

This commit is contained in:
2020-05-12 19:27:23 +02:00
parent fe3f0c0e85
commit 70e3efc93d
3 changed files with 27 additions and 2 deletions

View File

@ -5,9 +5,9 @@ import 'package:flutter/cupertino.dart';
/// @author Pierre Hubert
class ApplicationPreferences {
final bool enableDarkMode;
bool enableDarkMode;
const ApplicationPreferences({
ApplicationPreferences({
@required this.enableDarkMode,
}) : assert(enableDarkMode != null);
}