CalculatorGButton class Null safety

The g shift button, which is blue instead of black.

Inheritance

Constructors

CalculatorGButton(ButtonFactory factory, String uText, String fText, String gText, Operation uKey, Operation fKey, Operation gKey, String rawKeyboardKey, {required String extraAcceleratorName, 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
extraAcceleratorName → String
final
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
latefinalinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyTextOffset → Offset
read-onlyoverride
keyTextStyle → TextStyle
read-onlyoverride
lowerSurface → RRect
read-onlyinherited
lowerSurfaceColor → Color
latefinalinherited
lowerSurfaceColorPressed → Color
latefinalinherited
outerBorder → RRect
read-onlyinherited
outerBorderPressedScale → double
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
uKey → Operation
finalinherited
upperSurface → RRect
read-onlyinherited
upperSurfaceColor → Color
latefinal
upperSurfaceColorPressed → Color
latefinalinherited
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