Skip to content

Instantly share code, notes, and snippets.

@iporsut
Created June 5, 2025 02:10
Show Gist options
  • Save iporsut/80f5fbf198c72c397c2881140cf00a35 to your computer and use it in GitHub Desktop.
Save iporsut/80f5fbf198c72c397c2881140cf00a35 to your computer and use it in GitHub Desktop.
Flutter interview coding challenge

Flutter Interview

Requirements

[
  {
    "userId": 1,
    "id": 1,
    "title": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit",
    "body": "quia et suscipit\nsuscipit recusandae consequuntur expedita et cum\nreprehenderit molestiae ut ut quas totam\nnostrum rerum est autem sunt rem eveniet architecto"
  },
  {
    "userId": 2,
    "id": 2,
    "title": "qui est esse",
    "body": "est rerum tempore vitae\nsequi sint nihil reprehenderit dolor beatae ea dolores neque\nfugiat blanditiis voluptate porro vel nihil molestiae ut reiciendis\nqui aperiam non debitis possimus qui neque nisi nulla"
  }
]
  • แสดงแค่ Title ในลิสต์ และจำนวน Like
  • เมือกดที่ชื่อ List item ให้แสดงหน้าใหม่ detail ที่แสดง title และ body
  • ในหน้าแสดง detail ให้มีปุ่มกด Like และแสดงว่ามีการกด Like ไปแล้วกี่ครั้ง
  • สามารถกด back กลับไปหน้า List ได้
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment