AutomaticKeepAliveModifier constructor

const AutomaticKeepAliveModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
})

Creates a widget that listens to KeepAliveNotifications and maintains a KeepAlive widget appropriately.

Implementation

const AutomaticKeepAliveModifier({
  super.key,
  super.child,
  super.modifierKey,
});