Issue
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
Solution
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'),
),
],
),
Answered By - Paresh Mangukiya
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.