CalculatorBlueSqrtButton class Null safety
The 16C's square root button, which draws an extra line above the blue label to visually complete the square-root symbol. Lining this up depends on the specific font, which is bundled with the app.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- CalculatorButton
- CalculatorBlueSqrtButton
Constructors
- CalculatorBlueSqrtButton(ButtonFactory factory, String uText, String fText, String gText, NormalOperation uKey, NormalOperation fKey, NormalOperation gKey, String rawKeyboardKey, {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-onlyinherited
- 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
- uKey → Operation
-
finalinherited
- upperSurface → RRect
-
read-onlyinherited
- 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 -
override
-
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