Skip to 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

Properties#

value instance-attribute #

value: str | int | float | bool

Stable primitive identifier used to match a control.