focused constant

WidgetEvent const focused

The event when the user navigates with the keyboard to a given widget.

This can also sometimes be triggered when a widget is tapped. For example, when a TextField is tapped, it becomes focused.

Implementation

static const focused = WidgetEvent('focused');