SemanticsHintOverrides class Null safety

Provides hint values which override the default hints on supported platforms.

On iOS, these values are always ignored.

Inheritance
Annotations

Constructors

SemanticsHintOverrides({String? onTapHint, String? onLongPressHint})
Creates a semantics hint overrides.
const

Properties

hashCode int
The hash code for this object.
read-onlyoverride
isNotEmpty bool
Whether there are any non-null hint values.
read-only
onLongPressHint String?
The hint text for a long press action.
final
onTapHint String?
The hint text for a tap action.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
protected">@protectedinherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
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 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 brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override