GestureBoard class

It's a widget that displays a grid of buttons that can be tapped to change the color of the selected color

Inheritance

Constructors

GestureBoard({required GlobalKey<ShakeWidgetState> shakeKey, required List<GlobalKey<BlinkWidgetState>> shakeKeyColors, required ValueNotifier<SelectionModes> selectionMode, required ValueNotifier<List<CrossButton>> coloredButtons, required ValueNotifier<List<CrossButton>> selectedButtons, required ValueNotifier<bool> resetSignal, required ResultNotifier resultValueNotifier, Key? key})
It's a constructor.
const

Properties

coloredButtons ValueNotifier<List<CrossButton>>
Creating a list of CrossButton objects.
final
hashCode int
The hash code for this object.
read-onlyinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
resetSignal ValueNotifier<bool>
Creating a list of CrossButton objects.
final
resultValueNotifier ResultNotifier
A variable that is used to store the result of the interpreter.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
selectedButtons ValueNotifier<List<CrossButton>>
Creating a list of CrossButton objects.
final
selectionMode ValueNotifier<SelectionModes>
It's a variable that is used to store the current selection mode.
final
shakeKey GlobalKey<ShakeWidgetState>
It's a key that is used to shake the widget.
final
shakeKeyColors List<GlobalKey<BlinkWidgetState>>
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