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 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,
- List<
Widget> actionsBuilder(- BuildContext context
- String? pageTitleText,
- Widget? refreshIcon,
- Widget? backButton,
- 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.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,
});