initial commit
This commit is contained in:
39
lib/theme/theme_schema.dart
Normal file
39
lib/theme/theme_schema.dart
Normal file
@@ -0,0 +1,39 @@
|
||||
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,
|
||||
});
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user