diff --git a/packages/wyatt_ui_components/lib/src/domain/entities/cards/card_component.dart b/packages/wyatt_ui_components/lib/src/domain/entities/cards/card_component.dart index 73f7ce79..ea3ef7bc 100644 --- a/packages/wyatt_ui_components/lib/src/domain/entities/cards/card_component.dart +++ b/packages/wyatt_ui_components/lib/src/domain/entities/cards/card_component.dart @@ -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; } diff --git a/packages/wyatt_ui_components/lib/src/domain/entities/cards/information_card_component.dart b/packages/wyatt_ui_components/lib/src/domain/entities/cards/information_card_component.dart index a6676d0c..2af68c67 100644 --- a/packages/wyatt_ui_components/lib/src/domain/entities/cards/information_card_component.dart +++ b/packages/wyatt_ui_components/lib/src/domain/entities/cards/information_card_component.dart @@ -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, }); diff --git a/packages/wyatt_ui_components/lib/src/domain/entities/cards/information_card_component.g.dart b/packages/wyatt_ui_components/lib/src/domain/entities/cards/information_card_component.g.dart index 78cdc783..c5a3e0fb 100644 --- a/packages/wyatt_ui_components/lib/src/domain/entities/cards/information_card_component.g.dart +++ b/packages/wyatt_ui_components/lib/src/domain/entities/cards/information_card_component.g.dart @@ -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, }); diff --git a/packages/wyatt_ui_components/lib/src/domain/entities/cards/quote_card_component.dart b/packages/wyatt_ui_components/lib/src/domain/entities/cards/quote_card_component.dart index 40f11239..004cfea8 100644 --- a/packages/wyatt_ui_components/lib/src/domain/entities/cards/quote_card_component.dart +++ b/packages/wyatt_ui_components/lib/src/domain/entities/cards/quote_card_component.dart @@ -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, }); diff --git a/packages/wyatt_ui_components/lib/src/domain/entities/cards/quote_card_component.g.dart b/packages/wyatt_ui_components/lib/src/domain/entities/cards/quote_card_component.g.dart index e48b6963..9e7f4318 100644 --- a/packages/wyatt_ui_components/lib/src/domain/entities/cards/quote_card_component.g.dart +++ b/packages/wyatt_ui_components/lib/src/domain/entities/cards/quote_card_component.g.dart @@ -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, });