ArrowPad class

the arrow pad widget

Inheritance

Constructors

ArrowPad({Key? key, double? height, double? width, void onPressedUp()?, void onPressedDown()?, void onPressedLeft()?, void onPressedRight()?, void onPressed(PressDirection direction)?, ClickTrigger? clickTrigger = ClickTrigger.onTapDown, ArrowPadIconStyle arrowPadIconStyle = ArrowPadIconStyle.chevron, Color? outerColor, Color? innerColor, Color? iconColor, Color? splashColor, Color? hoverColor, EdgeInsetsGeometry? padding})
creates a rounded widget with 4 arrow keys
const

Properties

arrowPadIconStyle ArrowPadIconStyle
Icon style of the arrow pad ArrowPadIconStyle
final
clickTrigger ClickTrigger?
When to trigger the pressed functions using ClickTrigger
final
hashCode int
The hash code for this object.
no setterinherited
height double?
height of the arrow pad
final
hoverColor Color?
hover color of the inner circle arrow pad
final
iconColor Color?
arrow icon color of the arrow pad
final
innerColor Color?
inner circle color of the arrow pad
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onPressed → (void Function(PressDirection direction)?)
function when pressed any button
final
onPressedDown → (void Function()?)
function when down arrow is pressed
final
onPressedLeft → (void Function()?)
function when left arrow is pressed
final
onPressedRight → (void Function()?)
function when right arrow is pressed
final
onPressedUp → (void Function()?)
function when up arrow is pressed
final
outerColor Color?
outer circle color of the arrow pad
final
padding EdgeInsetsGeometry?
The amount of space by which to inset the child.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
splashColor Color?
splash color of the inner circle arrow pad
final
width double?
width of the arrow pad
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's 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
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}) 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