Courses

[NEW] Flutter 3 Mobile App with Laravel 12 API

Editing Categories

Now that we have our categories, we can work on the edit form:

This will show us how to implement the following:

  • A form into our screen
  • Basic validation
  • API call to update the category
  • Modal forms

Adding Edit Icon

First, we want to add an Icon Button to our List:

return ListTile(
title: Text(category.name),
trailing: IconButton(onPressed: () => print("Clicked edit"), icon: Icon(Icons.edit)),
);

This will add an edit icon to the right side...

The full lesson is only for Premium Members.
Want to access all 26 lessons of this course? (115 min read)

You also get:

  • 75 courses
  • Premium tutorials
  • Access to repositories
  • Private Discord