theme work

This commit is contained in:
2026-04-05 10:06:26 +02:00
parent 0347a354ef
commit 28b2abdff3
16 changed files with 223 additions and 137 deletions

12
lib/data/enums.dart Normal file
View File

@@ -0,0 +1,12 @@
import 'package:flutter/material.dart';
enum AppThemeMode {
light('light', 'Chiaro', ThemeMode.light),
dark('dark', 'Scuro', ThemeMode.dark),
system('system', 'Sistema', ThemeMode.system);
const AppThemeMode(this.value, this.label, this.themeMode);
final String value;
final String label;
final ThemeMode themeMode;
}