Removed type

This commit is contained in:
Deven Joshi
2020-12-30 14:00:42 +05:30
parent bf839e9bce
commit e8afb3e9a9
+1 -3
View File
@@ -401,7 +401,6 @@ enum TextThemeType {
}
class TextTheme {
final TextThemeType type;
final TextStyle title;
final TextStyle headlineBold;
final TextStyle headline;
@@ -412,7 +411,6 @@ class TextTheme {
final TextStyle captionBold;
TextTheme.light({
this.type = TextThemeType.light,
this.title = const TextStyle(
fontSize: 22,
fontWeight: FontWeight.bold,
@@ -447,7 +445,6 @@ class TextTheme {
});
TextTheme.dark({
this.type = TextThemeType.dark,
this.title = const TextStyle(
fontSize: 22,
fontWeight: FontWeight.bold,
@@ -490,6 +487,7 @@ class TextTheme {
});
TextTheme copyWith({
TextThemeType type = TextThemeType.light,
TextStyle body,
TextStyle title,
TextStyle headlineBold,