EditScreen constructor Null safety

EditScreen(
  1. {Key? key,
  2. required Statement statement,
  3. required Function onLogin,
  4. required String title,
  5. required bool isLoggedIn}
)

Implementation

EditScreen(
    {Key? key,
    required this.statement,
    required this.onLogin,
    required this.title,
    required this.isLoggedIn})
    : super(key: key);