doNothing constant Null safety

DoNothingIntent const doNothing

An intent that is mapped to a DoNothingAction, which, as the name implies, does nothing.

This Intent is mapped to an action in the WidgetsApp that does nothing, so that it can be bound to a key in a Shortcuts widget in order to disable a key binding made above it in the hierarchy.

Implementation

static const DoNothingIntent doNothing = DoNothingIntent._();