fix(ui_components): remove darkmode enable field in cards

This commit is contained in:
Malo Léon 2023-02-08 15:43:20 +01:00 committed by Hugo Pointcheval
parent 09698b3dc2
commit 68a69c9d3c
Signed by: hugo
GPG Key ID: 3AAC487E131E00BC
5 changed files with 0 additions and 10 deletions

View File

@ -26,7 +26,6 @@ abstract class CardComponent extends Component {
this.minSize,
this.maxSize,
this.shadow,
this.isDarkModeEnabled,
this.background,
super.key,
});
@ -52,9 +51,6 @@ abstract class CardComponent extends Component {
/// Drop shadow
final BoxShadow? shadow;
/// Is this component in dark mode or not
final bool? isDarkModeEnabled;
/// Background of the card
final Widget? background;
}

View File

@ -41,7 +41,6 @@ abstract class InformationCardComponent extends CardComponent
offset: Offset(0, 5),
color: Color.fromRGBO(0, 0, 0, 0.05),
),
super.isDarkModeEnabled = false,
super.background,
super.key,
});

View File

@ -19,7 +19,6 @@ abstract class $InformationCardComponentCWProxy {
InformationCardComponent minSize(Size? minSize);
InformationCardComponent maxSize(Size? maxSize);
InformationCardComponent shadow(BoxShadow? shadow);
InformationCardComponent isDarkModeEnabled(bool? isDarkModeEnabled);
InformationCardComponent background(Widget? background);
InformationCardComponent key(Key? key);
InformationCardComponent call({
@ -35,7 +34,6 @@ abstract class $InformationCardComponentCWProxy {
Size? minSize,
Size? maxSize,
BoxShadow? shadow,
bool? isDarkModeEnabled,
Widget? background,
Key? key,
});

View File

@ -43,7 +43,6 @@ abstract class QuoteCardComponent extends CardComponent
offset: Offset(0, 5),
color: Color.fromRGBO(0, 0, 0, 0.05),
),
super.isDarkModeEnabled = false,
super.background,
super.key,
});

View File

@ -21,7 +21,6 @@ abstract class $QuoteCardComponentCWProxy {
QuoteCardComponent minSize(Size? minSize);
QuoteCardComponent maxSize(Size? maxSize);
QuoteCardComponent shadow(BoxShadow? shadow);
QuoteCardComponent isDarkModeEnabled(bool? isDarkModeEnabled);
QuoteCardComponent background(Widget? background);
QuoteCardComponent key(Key? key);
QuoteCardComponent call({
@ -39,7 +38,6 @@ abstract class $QuoteCardComponentCWProxy {
Size? minSize,
Size? maxSize,
BoxShadow? shadow,
bool? isDarkModeEnabled,
Widget? background,
Key? key,
});