FinancialEntityView constructor

const FinancialEntityView({
  1. Key? key,
  2. String? heroLabel,
  3. double? heroAmount,
  4. double? wholeAmount,
  5. required List<RallyPieChartSegment> segments,
  6. 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);