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> ({
- Key? key,
- required B calculatorBloc,
- required WidgetBuilder resultsBuilder,
- required WidgetBuilder fieldsBuilder,
- bool canEnableExportToPdfInteractions()?,
- bool requestFullApp = false,
- bool showRefreshIcon = true,
- bool showClearIcon = true,
- bool showInfoIcon = false,
- List<
Widget> ? calculatorActions, - String? resultsTitleText,
- String? fieldsTitleText,
- List<
Widget> ? resultsActions, - WidgetBuilder? dividerBuilder,
- WidgetBuilder? headerBuilder,
- String? pageTitleText,
- Widget? refreshIcon,
- Widget? backButton,
- Widget? exportToPdfIcon,
- Widget? clearIcon,
- Widget? infoIcon,
- Widget? leading,
- VoidCallback? onInfo,
- WidgetBuilder? breakdownBuilder,
- String? breakdownTitleText,
- List<
Widget> ? breakdownActions, - ValueNotifier<
bool> ? breadownViewNotifier, - 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,
});