Im working on developing an app that uses firebase and flutter. I am having some issues with this piece of code
final Function toggleView;
Signup({
Key? key, this.toggleView,
}) : super(key: key);
this.toggleView is requiring me to use 'required' key word. There is a way around it but that would inhibit me from using materialpagerout on other pages that this is connected to.
Im working on developing an app that uses firebase and flutter. I am having some issues with this piece of code final Function toggleView; Signup({ Key? key, this.toggleView, }) : super(key: key);
this.toggleView is requiring me to use 'required' key word. There is a way around it but that would inhibit me from using materialpagerout on other pages that this is connected to.