CalculatorOnSpecialButton class Null safety

A CalculatorButton that has a special function when used with conjunction with the on'off button. Such buttons show text describing their special function when the on/off button has been pressed.

Inheritance
Implementers

Constructors

CalculatorOnSpecialButton(ButtonFactory factory, String uText, String fText, String gText, Operation uKey, Operation fKey, Operation gKey, String rawKeyboardKey, String specialText, {String? acceleratorLabel, Key? key})

Properties

acceleratorKey String
Key (or keys) to generate a press of this button
finalinherited
acceleratorLabel String
read-onlyinherited
bFactory ButtonFactory
finalinherited
fKey Operation
finalinherited
fText String
finalinherited
gKey Operation
finalinherited
gText String
finalinherited
gTextOffset Offset
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
height double
read-onlyinherited
innerBorder RRect
read-onlyinherited
innerBorderColor Color
read-onlyinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyTextOffset Offset
read-onlyinherited
keyTextStyle TextStyle
read-onlyinherited
lowerSurface RRect
read-onlyinherited
lowerSurfaceColor Color
read-onlyoverride
lowerSurfaceColorPressed Color
read-onlyinherited
outerBorder RRect
read-onlyinherited
outerBorderPressedScale double
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
specialText String
final
uKey Operation
finalinherited
upperSurface RRect
read-onlyinherited
upperSurfaceColor Color
read-onlyoverride
upperSurfaceColorPressed Color
read-onlyinherited
uText String
finalinherited
width double
read-onlyinherited

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() CalculatorButtonState
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
drawBlueText(Canvas canvas, double w) → void
inherited
drawCustomWhiteText(Canvas canvas, String text, double w) → void
drawGoldText(Canvas canvas, double w) → void
inherited
drawKeyboardAccelerator(Canvas canvas) → void
inherited
drawText(Canvas canvas, TextStyle style, String text, double w, Offset offset) → void
inherited
drawWhiteText(Canvas canvas, TextStyle style, String text, double w) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
paintForPainter(Canvas canvas, Size size, {required bool pressed, required bool pressedFromKeyboard, required bool showAccelerators}) → void
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}) 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