ExitHeader constructor

const ExitHeader({
  1. dynamic onExit()?,
  2. Key? key,
})

Implementation

const ExitHeader({
  Function()? onExit,
  Key? key,
})  : _onExit = onExit,
      super(key: key);