MyHomePage constructor

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

Implementation

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