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
Showing only changes of commit 82a643cbb4 - Show all commits

View File

@ -25,11 +25,11 @@ part 'quote_card_component.g.dart';
abstract class QuoteCardComponent extends CardComponent abstract class QuoteCardComponent extends CardComponent
with CopyWithMixin<$QuoteCardComponentCWProxy> { with CopyWithMixin<$QuoteCardComponentCWProxy> {
const QuoteCardComponent({ const QuoteCardComponent({
required this.avatar, this.avatar,
required this.name, this.name,
required this.subtitle, this.subtitle,
required this.gradient, this.gradient,
required this.quote, this.quote,
this.leftQuote, this.leftQuote,
this.rightQuote, this.rightQuote,
super.radius = 12, super.radius = 12,
@ -47,11 +47,11 @@ abstract class QuoteCardComponent extends CardComponent
super.key, super.key,
}); });
final Widget avatar; final Widget? avatar;
final Widget name; final Widget? name;
final Text subtitle; final Text? subtitle;
final Gradient gradient; final Gradient? gradient;
final Widget quote; final Widget? quote;
final Widget? leftQuote; final Widget? leftQuote;
final Widget? rightQuote; final Widget? rightQuote;