Skip to main content

Key

Base class for control keys.

Concrete subclasses define _type and therefore behavior on the Flutter side. Use ValueKey for general control identity and ScrollKey for scroll-target lookups.

Properties

  • value - Stable primitive identifier used to match a control.

Properties

valueinstance-attribute

value: str | int | float | bool

Stable primitive identifier used to match a control.