id property

String get id
inherited

Unique identifier for this widget.

Derived from the widget key. Returns a hash-based fallback when no key is provided.

Implementation

String get id => key != null ? _keyToId(key!) : '[#${shortHash(this)}]';