CalculatorEnterButton class Null safety

The enter button, which occupies two rows on the keyboard.

Inheritance

Constructors

CalculatorEnterButton(ButtonFactory factory, String uText, String fText, String gText, Operation uKey, Operation fKey, Operation gKey, String rawKeyboardKey, {required double extraHeight, 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
extraHeight double
final
fKey Operation
finalinherited
fText String
finalinherited
gKey Operation
finalinherited
gText String
finalinherited
gTextOffset Offset
read-onlyoverride
hashCode int
The hash code for this object.
read-onlyinherited
height double
read-onlyoverride
innerBorder RRect
read-onlyoverride
innerBorderColor Color
read-onlyinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyTextOffset Offset
read-onlyoverride
keyTextStyle TextStyle
read-onlyinherited
lowerSurface RRect
read-onlyoverride
lowerSurfaceColor Color
read-onlyinherited
lowerSurfaceColorPressed Color
read-onlyinherited
outerBorder RRect
read-onlyoverride
outerBorderPressedScale double
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
uKey Operation
finalinherited
upperSurface RRect
read-onlyoverride
upperSurfaceColor Color
read-onlyinherited
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.
inherited
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
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
inherited
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