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
with CopyWithMixin<$QuoteCardComponentCWProxy> {
const QuoteCardComponent({
required this.avatar,
required this.name,
required this.subtitle,
required this.gradient,
required this.quote,
this.avatar,
this.name,
this.subtitle,
this.gradient,
this.quote,
this.leftQuote,
this.rightQuote,
super.radius = 12,
@ -47,11 +47,11 @@ abstract class QuoteCardComponent extends CardComponent
super.key,
});
final Widget avatar;
final Widget name;
final Text subtitle;
final Gradient gradient;
final Widget quote;
final Widget? avatar;
final Widget? name;
final Text? subtitle;
final Gradient? gradient;
final Widget? quote;
final Widget? leftQuote;
final Widget? rightQuote;