TapSpec class
👆 TapSpec
A 🌟 Surface may be provided a 👆 TapSpec to define its "tappability" and appearance & behavior therein, if enabled.
- Mixed in types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- inkHighlightColor → Color?
-
If tappable
== true
the InkResponse appearance may be customized.final - inkSplashColor → Color?
-
If tappable
== true
the InkResponse appearance may be customized.final - onTap → VoidCallback?
-
Disabled by tappable
== false
.final - providesFeedback → bool
-
Not only does tappable mean the Surface will provide 👆 onTap Callback,
it also enables
Color
parameters inkHighlightColor & inkSplashColor.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tappable → bool
-
Not only does tappable mean the Surface will provide 👆 onTap Callback,
it also enables
Color
parameters inkHighlightColor & inkSplashColor.final
Methods
-
copyWith(
{bool? tappable, bool? providesFeedback, Color? inkSplashColor, Color? inkHighlightColor, VoidCallback? onTap}) → TapSpec -
📋 Returns a copy of this
TapSpec
with the given properties. -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
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
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited