Open
Description
Hi Marc !
I am Jean-michel from France. I bought your book "65 examples" recently and I am reading it carefully.
It is very interesting and, I believe, straight to the point.
I have a problem with the stack_please_wait code.
I use Android Studio on Windows 10.
When I paste the dart code in the main.dart, I have the following error 👍
class HomeWidget extends StatefulWidget {
HomeWidget({Key key, this.title}) : super(key: key);
The parameter 'key' can't have a value of null because of its type but the implcit default value is null.
Same thing for the title parameter.
I don't know what to do.
What is the type of the 'key' parameter ?
When I try to initialize it, the type I use (int, String ...) is wrong.
Thanks for your help !
Jean-michel
Metadata
Metadata
Assignees
Labels
No labels