MatexCalculatorWidget<B extends MatexCalculatorBloc<MatexCalculator<MatexCalculatorState, dynamic>, FastCalculatorBlocEvent<FastCalculatorResults>, FastCalculatorBlocState<FastCalculatorFields, FastCalculatorResults>, FastCalculatorDocument, FastCalculatorResults>, R extends FastCalculatorResults> class

Inheritance

Constructors

MatexCalculatorWidget({Key? key, required B calculatorBloc, required WidgetBuilder resultsBuilder, required WidgetBuilder fieldsBuilder, bool canEnableExportToPdfInteractions(FastCalculatorBlocState<FastCalculatorFields, FastCalculatorResults> state)?, bool requestFullApp = false, bool showRefreshIcon = true, bool showClearIcon = true, bool showInfoIcon = true, List<Widget>? calculatorActions, String? resultsTitleText, String? fieldsTitleText, List<Widget>? resultsActions, WidgetBuilder? dividerBuilder, WidgetBuilder? footerBuilder, WidgetBuilder? headerBuilder, List<Widget> actionsBuilder(BuildContext context)?, String? pageTitleText, Widget? refreshIcon, Widget? backButton, WidgetBuilder? breakdownBuilder, String? breakdownTitleText, List<Widget>? breakdownActions, Widget? exportToPdfIcon, Widget? clearIcon, Widget? infoIcon, Widget? leading, VoidCallback? onInfo, ValueNotifier<bool>? breadownViewNotifier, VoidCallback? onClear})
const

Properties

actionsBuilder List<Widget> Function(BuildContext context)?
final
backButton Widget?
final
breadownViewNotifier ValueNotifier<bool>?
final
breakdownActions List<Widget>?
A list of actions that can be performed on the breakdown section.
final
breakdownBuilder WidgetBuilder?
A builder method used to build the UI for displaying the breakdown of the calculations.
final
breakdownTitleText String?
A string that represents the title text for the breakdown section. If null, the default value is used.
final
calculatorActions List<Widget>?
final
calculatorBloc → B
final
canEnableExportToPdfInteractions bool Function(FastCalculatorBlocState<FastCalculatorFields, FastCalculatorResults> state)?
final
clearIcon Widget?
final
dividerBuilder WidgetBuilder?
final
exportToPdfIcon Widget?
final
fieldsBuilder WidgetBuilder
final
fieldsTitleText String?
final
footerBuilder WidgetBuilder?
final
hashCode int
The hash code for this object.
no setterinherited
headerBuilder WidgetBuilder?
final
infoIcon Widget?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leading Widget?
final
onClear VoidCallback?
final
onInfo VoidCallback?
final
pageTitleText String?
final
refreshIcon Widget?
final
requestFullApp bool
final
resultsActions List<Widget>?
final
resultsBuilder WidgetBuilder
final
resultsTitleText String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showClearIcon bool
final
showInfoIcon bool
final
showRefreshIcon bool
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() MatexCalculatorWidgetState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited