For some reason it's throwing me this error for line 19 (highlighted)
The named parameter 'child' isn't defined.
Is there anything I'm not seeing?
Thanks!
-T
CodePudding user response:
The AppBar
widget does not have any child property. You need to change it with the action
.
here is example
appBar: AppBar(
actions: <Widget>[
RaisedButton(
onPressed: () async {},
child: Text('Sign in Anen'),
),
],
),