Questions for Practice 10
Flutter Practice Questions
This section includes practice questions designed to enhance your understanding and skills in working with REST APIs in Flutter.
- Create a application that fetches data from (
https://jsonplaceholder.typicode.com/users
) and displays the list of users. - Create a form where users can input their name and message. Post this data to a (
https://jsonplaceholder.typicode.com/posts
). Display a confirmation message on successful submission. - Create a Weather app in Flutter that fetches weather data from a weather API (e.g., OpenWeatherMap) and displays the current weather information for a specific location.
- Write a function in Flutter that converts the JSON data fetched from the REST API into a list of Dart objects.