initial commit
This commit is contained in:
34
lib/theme/theme_data.dart
Normal file
34
lib/theme/theme_data.dart
Normal file
@@ -0,0 +1,34 @@
|
||||
import 'package:base_project/theme/theme_schema.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class LightTheme extends ThemeSchema {
|
||||
|
||||
LightTheme() : super(
|
||||
brightness: Brightness.light,
|
||||
textTheme: TextThemeSchema(
|
||||
title: const TextStyle(),
|
||||
body: const TextStyle()
|
||||
),
|
||||
colorTheme: ColorThemeSchema(
|
||||
primary: Colors.black,
|
||||
secondary: Colors.white
|
||||
)
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
class DarkTheme extends ThemeSchema {
|
||||
|
||||
DarkTheme() : super(
|
||||
brightness: Brightness.dark,
|
||||
textTheme: TextThemeSchema(
|
||||
title: const TextStyle(),
|
||||
body: const TextStyle()
|
||||
),
|
||||
colorTheme: ColorThemeSchema(
|
||||
primary: Colors.white,
|
||||
secondary: Colors.black
|
||||
)
|
||||
);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user