FastCalculatorPageLayout<B extends FastCalculatorBloc<FastCalculatorBlocEvent<FastCalculatorResults>, FastCalculatorBlocState<FastCalculatorFields, FastCalculatorResults>, FastCalculatorResults>, R extends FastCalculatorResults> constructor

const FastCalculatorPageLayout<B extends FastCalculatorBloc<FastCalculatorBlocEvent<FastCalculatorResults>, FastCalculatorBlocState<FastCalculatorFields, FastCalculatorResults>, FastCalculatorResults>, R extends FastCalculatorResults>({
  1. Key? key,
  2. required B calculatorBloc,
  3. required WidgetBuilder resultsBuilder,
  4. required WidgetBuilder fieldsBuilder,
  5. bool canEnableExportToPdfInteractions(
    1. FastCalculatorBlocState<FastCalculatorFields, FastCalculatorResults> state
    )?,
  6. bool requestFullApp = false,
  7. bool showRefreshIcon = true,
  8. bool showClearIcon = true,
  9. bool showInfoIcon = false,
  10. List<Widget>? calculatorActions,
  11. String? resultsTitleText,
  12. String? fieldsTitleText,
  13. List<Widget>? resultsActions,
  14. WidgetBuilder? dividerBuilder,
  15. WidgetBuilder? footerBuilder,
  16. WidgetBuilder? headerBuilder,
  17. String? pageTitleText,
  18. Widget? refreshIcon,
  19. Widget? backButton,
  20. Widget? exportToPdfIcon,
  21. Widget? clearIcon,
  22. Widget? infoIcon,
  23. Widget? leading,
  24. VoidCallback? onInfo,
  25. WidgetBuilder? breakdownBuilder,
  26. String? breakdownTitleText,
  27. List<Widget>? breakdownActions,
  28. ValueNotifier<bool>? breadownViewNotifier,
  29. VoidCallback? onClear,
})

Implementation

const FastCalculatorPageLayout({
  super.key,
  required this.calculatorBloc,
  required this.resultsBuilder,
  required this.fieldsBuilder,
  this.canEnableExportToPdfInteractions,
  this.requestFullApp = false,
  this.showRefreshIcon = true,
  this.showClearIcon = true,
  this.showInfoIcon = false,
  this.calculatorActions,
  this.resultsTitleText,
  this.fieldsTitleText,
  this.resultsActions,
  this.dividerBuilder,
  this.footerBuilder,
  this.headerBuilder,
  this.pageTitleText,
  this.refreshIcon,
  this.backButton,
  this.exportToPdfIcon,
  this.clearIcon,
  this.infoIcon,
  this.leading,
  this.onInfo,
  this.breakdownBuilder,
  this.breakdownTitleText,
  this.breakdownActions,
  this.breadownViewNotifier,
  this.onClear,
});