VirtualListenGesture class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- VirtualListenGesture
Constructors
-
VirtualListenGesture({Key? key, required AppClock clock, required VirtualListenBuilder builder, VoidCallback? onTap, VoidCallback? onHold, bool enabled = true, GlobalKey<
State< ? targetKey})StatefulWidget> > -
const
Properties
- builder → VirtualListenBuilder
-
O botão de verdade, com o toque que ele deve chamar.
final
- clock → AppClock
-
O relógio do app (CT05e): a espera de kVirtualHold é contada nele.
final
- enabled → bool
-
falseenquanto se ouve: o toque longo não faz nada.final - hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onHold → VoidCallback?
-
Segurado por kVirtualHold: o diálogo do aluno virtual.
nulldesliga o gesto (o botão continua com o toque curto).final - onTap → VoidCallback?
-
O toque curto: ouvir o trecho.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
targetKey
→ GlobalKey<
State< ?StatefulWidget> > -
O botão dentro de builder, quando ele é menor que a caixa do gesto (o
trilho do celular).
null: a caixa inteira é o botão.final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< VirtualListenGesture> -
Creates the mutable state for this widget at a given location in the tree.
override
-
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, int wrapWidth = 65}) → 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