TableRowInkWell class

A rectangular area of a Material that responds to touch but clips its ink splashes to the current table row of the nearest table.

Must have an ancestor Material widget in which to cause ink reactions and an ancestor Table widget to establish a row.

The TableRowInkWell must be in the same coordinate space (modulo translations) as the Table. If it's rotated or scaled or otherwise transformed, it will not be able to describe the rectangle of the row in its own coordinate system as a Rect, and thus the splash will not occur. (In general, this is easy to achieve: just put the TableRowInkWell as the direct child of the Table, and put the other contents of the cell inside it.)

Inheritance

Constructors

TableRowInkWell({Key key, Widget child, GestureTapCallback onTap, GestureTapCallback onDoubleTap, GestureLongPressCallback onLongPress, ValueChanged<bool> onHighlightChanged })
Creates an ink well for a table row.
const

Properties

borderRadius BorderRadius
The clipping radius of the containing rect. [...]
final, inherited
child Widget
The widget below this widget in the tree. [...]
final, inherited
containedInkWell bool
Whether this ink response should be clipped its bounds. [...]
final, inherited
enableFeedback bool
Whether detected gestures should provide acoustic and/or haptic feedback. [...]
final, inherited
excludeFromSemantics bool
Whether to exclude the gestures introduced by this widget from the semantics tree. [...]
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
highlightColor Color
The highlight color of the ink response. If this property is null then the highlight color of the theme, ThemeData.highlightColor, will be used. [...]
final, inherited
highlightShape BoxShape
The shape (e.g., circle, rectangle) to use for the highlight drawn around this part of the material. [...]
final, inherited
key Key
Controls how one widget replaces another widget in the tree. [...]
final, inherited
onDoubleTap GestureTapCallback
Called when the user double taps this part of the material.
final, inherited
onHighlightChanged ValueChanged<bool>
Called when this part of the material either becomes highlighted or stops being highlighted. [...]
final, inherited
onLongPress GestureLongPressCallback
Called when the user long-presses on this part of the material.
final, inherited
onTap GestureTapCallback
Called when the user taps this part of the material.
final, inherited
onTapCancel GestureTapCallback
Called when the user cancels a tap that was started on this part of the material.
final, inherited
onTapDown GestureTapDownCallback
Called when the user taps down this part of the material.
final, inherited
radius double
The radius of the ink splash. [...]
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
splashColor Color
The splash color of the ink response. If this property is null then the splash color of the theme, ThemeData.splashColor, will be used. [...]
final, inherited
splashFactory InteractiveInkFeatureFactory
Defines the appearance of the splash. [...]
final, inherited

Methods

debugCheckContext(BuildContext context) bool
Asserts that the given context satisfies the prerequisites for this class. [...]
getRectCallback(RenderBox referenceBox) RectCallback
The rectangle to use for the highlight effect and for clipping the splash effects if containedInkWell is true. [...]
createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree. [...]
inherited
createState() → _InkResponseState<InkResponse>
Creates the mutable state for this widget at a given location in the tree. [...]
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children. [...]
@protected, inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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 toStringDeep. [...]
inherited
toString({DiagnosticLevel minLevel: DiagnosticLevel.debug }) String
Returns 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 ==(dynamic other) bool
The equality operator. [...]
inherited