39 lines
553 B
Dart
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,
|
|
});
|
|
|
|
} |