ui_components/feat/cards-components #127

Merged
hugo merged 10 commits from ui_components/feat/cards-components into master 2023-02-09 16:50:48 +00:00
5 changed files with 0 additions and 10 deletions
Showing only changes of commit 8304aaf8c8 - Show all commits

View File

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

View File

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

View File

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

View File

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

View File

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