Courses

[NEW] Flutter 3 Mobile App with Laravel 12 API

First API Call - Categories List

Since our categories are currently hard-coded into the screen directly, we cannot update them without updating the code. This is not ideal, so let's fetch the categories from the API instead.

In this lesson, we will:

  • Install HTTP package
  • Create our Category Model
  • Grant the necessary permissions to the API
  • Fetch the categories from the API

Let's dive in!


Installing HTTP Package

Installing packages in Flutter...

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