MyHomePage constructor Null safety

const MyHomePage(
  1. {Key? key,
  2. required String title,
  3. required ThemeData themeData}
)

Implementation

const MyHomePage({Key? key, required this.title, required this.themeData})
    : super(key: key);