FinancialEntityView constructor
const
FinancialEntityView({
- Key? key,
- String? heroLabel,
- double? heroAmount,
- double? wholeAmount,
- required List<
RallyPieChartSegment> segments, - required List<
FinancialEntityCategoryView> financialEntityCards,
Implementation
const FinancialEntityView({
Key? key,
this.heroLabel,
this.heroAmount,
this.wholeAmount,
required this.segments,
required this.financialEntityCards,
}) : assert(segments.length == financialEntityCards.length),
super(key: key);