Skip to main content

Assignment 7: Flutter Basic Elements

Platform-Based Programming (CSGE602022) — Organized by the Faculty of Computer Science Universitas Indonesia, Odd Semester 2023/2024


Assignment Description

In this assignment, you have to create a Flutter application and implement things that you have learned in the tutorial.

Checklist for this assignment is as follows:

  • Create a new Flutter application with the inventory theme, just like previous tutorials.
  • Create 3 simple buttons with icon and text to:
    • View the list of items (View Items)
    • Add Item (Add Item)
    • Logout (Logout)
  • Create a Snackbar with the following texts:
    • "You clicked the View Items button" when the View Items button is clicked.
    • "You clicked the Add Item button" when the Add Item button is clicked.
    • "You clicked the Logout button" when the Logout button is clicked.
  • Answer the following questions in the README.md in the root folder (add new subheadings for each assignment).
    • What are the main differences between stateless and stateful widget in Flutter?
    • Explain all widgets that you used in this assignment.
    • Explain how you implemented the checklist above step-by-step (not just following the tutorial).
  • Perform add-commit-push to GitHub.

Deadline

The deadline for Assignment 7 is Wednesday, 8th November 2023, at 12:00 p.m.

The teaching assistants will check the last commit of the lab assignment repository, so you do not need to submit the repository link separately.

Bonus

You will gain bonus points in this assignment if you implement different colors for each button (View Items, Add Item, and Logout).