customPage method Null safety

dynamic customPage(
  1. {dynamic child,
  2. dynamic initState,
  3. dynamic dispose}
)

Implementation

customPage({
  child,
  initState,
  dispose,
}) {
  return CustomPage(
    child: child,
    initState: initState,
    dispose: dispose,
  );
}