TouchIndicator class
Adds touch indicators to the screen whenever a touch occurs
This can be useful when recording videos of an app where you want to show where the user has tapped. Can also be useful when running integration tests or when giving demos with a screencast.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- TouchIndicator
Constructors
Properties
- child → Widget
-
The child on which to show indicators
final
- enabled → bool
-
If set to false, disables the indicators from showing
final
- forceInReleaseMode → bool
-
If set to true, shows indicators in release mode as well
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- indicator → Widget?
-
Overrides the default indicator.
final
- indicatorColor → Color
-
The color of the indicator
final
- indicatorSize → double
-
The size of the indicator
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _TouchIndicatorState -
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}) → 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