fetch_api

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Task

  1. Fetch a list of Todos from the api endpoint https://jsonplaceholder.typicode.com/todos
  2. Render the data fetched from the API as a list. showing the title and the id of the Todo item
  3. When an item in the list is pressed, navigate to another screen showing the details of the item that was clicked. Use the following example endpoint to fetch a single Todo on the detail page https://jsonplaceholder.typicode.com/todos/1. where "1" is the ID of the Todo item.