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 requestFullApp = false,
  6. bool showRefreshIcon = true,
  7. bool showClearIcon = true,
  8. bool showInfoIcon = false,
  9. List<Widget>? calculatorActions,
  10. String? resultsTitleText,
  11. String? fieldsTitleText,
  12. List<Widget>? resultsActions,
  13. WidgetBuilder? dividerBuilder,
  14. WidgetBuilder? footerBuilder,
  15. WidgetBuilder? headerBuilder,
  16. List<Widget> actionsBuilder(
    1. BuildContext context
    )?,
  17. String? pageTitleText,
  18. Widget? refreshIcon,
  19. Widget? backButton,
  20. Widget? clearIcon,
  21. Widget? infoIcon,
  22. Widget? leading,
  23. VoidCallback? onInfo,
  24. WidgetBuilder? breakdownBuilder,
  25. String? breakdownTitleText,
  26. List<Widget>? breakdownActions,
  27. ValueNotifier<bool>? breadownViewNotifier,
  28. VoidCallback? onClear,
})

Implementation

const FastCalculatorPageLayout({
  super.key,
  required this.calculatorBloc,
  required this.resultsBuilder,
  required this.fieldsBuilder,
  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.actionsBuilder,
  this.pageTitleText,
  this.refreshIcon,
  this.backButton,
  this.clearIcon,
  this.infoIcon,
  this.leading,
  this.onInfo,
  this.breakdownBuilder,
  this.breakdownTitleText,
  this.breakdownActions,
  this.breadownViewNotifier,
  this.onClear,
});