I am trying find out why my code includes this code
const MyListView({Key? key}) : super(key: key); whilst all the youtube tutorials am following don't.
For example my code runs like this
const MyListView({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container();
}
}
but the tutorial am following the code doesn't include
const MyListView({Key? key}) : super(key: key);
I am currently working with Builder and I don't know how to go about it