semanticsIdentifier property

  1. @override
String? get semanticsIdentifier
override

A unique identifier for the semantics node for this widget.

This is useful for cases where the text widget needs to have a uniquely identifiable ID that is recognized through the automation tools without having a dependency on the actual content of the text that can possibly be dynamic in nature.

Implementation

@override
// ignore: override_on_non_overriding_member
String? get semanticsIdentifier => ($value as dynamic).semanticsIdentifier;