Files
Flutter-Base-Project/lib/theme/theme_schema.dart
2025-11-28 23:58:41 +03:00

39 lines
553 B
Dart

import 'package:flutter/material.dart';
class ThemeSchema {
Brightness brightness;
TextThemeSchema textTheme;
ColorThemeSchema colorTheme;
ThemeSchema({
required this.brightness,
required this.textTheme,
required this.colorTheme,
});
}
class TextThemeSchema {
TextStyle title;
TextStyle body;
TextThemeSchema({
required this.title,
required this.body,
});
}
class ColorThemeSchema {
Color primary;
Color secondary;
ColorThemeSchema({
required this.primary,
required this.secondary,
});
}