In our case, we will use IIS. It is important that when publishing, make sure that the previously created HTTP service "API" is enabled. Checking http service Checking the execution of a GET request After implementing the logic of receiving cases and publishing the database, you can check the execution of the request using the Postman program. If you have not used this program before, download it and in the window that opens, enter the address of the previously published database, adding <address>/hs/api/v1/ at the end . If the address is entered correctly, Postman will respond with a text in JSON format containing a list of your tasks. Request in Postman Creating a Flutter Project Now that the server side is fully implemented, we can move on to the client side, namely the mobile application.
The application will send GET requests
malaysia phone number list and receive a to-do list in the form of tasks. To get started, install Flutter by following the instructions in the official documentation . After installing Flutter, create a new project and run it. . How to Create a Flutter Project After creating the project, we start debugging on the Android or IOS emulator. If Flutter was installed correctly, the demo application "Counter" will open, which is generated when creating a new Flutter project. Flutter Demo Project Let's make a simple task list. To do this, follow these steps: Open the main.
dart file. Remove unnecessary comments to make the code more readable. Replace the title "Flutter Demo Home Page" with "To Do List". In the current page state class MyHomePageState , remove the extra code, leaving only the build method. Inside the Scaffold widget, in the body property, remove all child widgets and assign the ListView widget to the list. In the backgroundColor property of the top panel of the AppBar, we will change the color. We will use the 1C color

Use the ListView.builder constructor to dynamically create to-do list cards using the ListTile widget. To-do list layout Here's an example of what the code should look like after the changes: class _MyHomePageState extends State<MyHomePage> { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( backgroundColor: Colors.