loginPage method Null safety

dynamic loginPage(
  1. {dynamic appBar,
  2. dynamic emailField,
  3. dynamic passwordField,
  4. dynamic dontHaveAccount,
  5. dynamic loginButton,
  6. dynamic initState,
  7. dynamic dispose}
)

Implementation

loginPage({
  appBar,
  logo,
  emailField,
  passwordField,
  dontHaveAccount,
  loginButton,
  initState,
  dispose,
}) {
  return LoginPage(
      appBar: appBar,
      logo: logo,
      emailField: emailField,
      passwordField: passwordField,
      dontHaveAccount: dontHaveAccount,
      loginButton: loginButton,
      initState: initState,
      dispose: dispose);
}