Skip to main content

Exercises: StatelessWidgets

In this guide you will test your ability to structure decoupled visual components in Flutter through 10 progressive exercises, from basic atomic elements to complex composite cards.

Each exercise includes two tabs:

  1. Component & View: Shows a screenshot of the component designed under Google Material Design 3 (Material You) guidelines and a short explanation of what it represents.
  2. Tips & Guide: Lists recommendations on the file name, pedagogical purpose, tonal palette, suggested constructor parameters and the base Flutter widgets for building the layout.

Level 1: Visual Atoms​

01. Action Button with Icon​

MD3 action button with icon

A prominent pill-shaped (pill shape) action button with an icon on the left and a clear text label, designed to trigger the download or saving of a resource in the application.


02. Tonal Status Badge​

MD3 tonal status badge

A small tonal status pill with a bright circular indicator and a text label, ideal for reporting the progress or condition of a task in a list.


03. Tonal Information Banner​

MD3 tonal information banner

An institutional notice banner with a subtle tonal background, a circular information icon, a bold title, descriptive text and a dismiss button in the right corner.


Level 2: Modular Molecules​

04. User Profile Card​

MD3 user profile card

A horizontal row that groups the user's circular avatar with a connectivity dot, name, an "Online" tonal label, academic role and an instant messaging button.


05. Analytics Metric Card​

MD3 bento analytics metric card

A bento-style information card that presents a quantitative metric in a large type size, accompanied by its percentage trend and a study streak indicator.


06. Media List Item​

MD3 media list item

A list item with a rounded square cover image, the podcast title, duration with author and a tonal circular button for immediate playback.


07. Floating Mini Player​

MD3 floating mini player

A floating widget with an episode cover, descriptive texts, a progress bar with timestamps (02:45 / 05:30) and compact playback controls.


Level 3: Complex Organisms​

08. Catalog Product Card​

MD3 catalog product card

A vertical educational catalog card that integrates a header image with a floating certification badge, a save button, a star rating, a struck-through price with discount and a buy button.


09. Academic Task Card​

MD3 academic task card

An activity card with a highlighted left border, a checkbox, a high-urgency priority label, the course code and the submission deadline.


10. Full Social Feed Post​

MD3 full social feed post

The most complete component of the series: a social post with an author header and timestamp, a text body with readable line spacing, a framed attached photo and an interaction bar with counters for likes, comments, share and save.