Skip to main content

Edit Category: Forms, TextFormFields and HTTP Headers

Premium
13:01

The Full Lesson is Only for Premium Members

Want to access all of our courses? (30 h 09 min)

You also get:

55 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Comments & Discussion

RA
Rehan Azher ✓ Link copied!

Not sure why but i was required to make some changes to save categories signature : I had to pass the BuildContext as variable : Future saveCategory(BuildContext context)

And then under onPressed of save button, i needed to pass context:

onPressed: () =>saveCategory(context)

Otherwise _formKey.currentState was always null

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.