Theme: opt into the updated Material 3 progress indicators #4

Merged
raisondetredev merged 1 commit from refs/pull/4/head into main 2026-06-07 15:27:05 +02:00
raisondetredev commented 2026-06-07 15:26:48 +02:00 (Migrated from codeberg.org)

Set progressIndicatorTheme: ProgressIndicatorThemeData(year2023: false)
on both the light and dark themes so every CircularProgressIndicator /
LinearProgressIndicator in the app renders with the updated Material 3
appearance (rounded ends, a track gap, an animated stop indicator)
instead of the legacy look — done once in the theme so no call site
needs touching.

Flutter 3.41 doesn't ship the morphing M3-Expressive loading indicator
yet; year2023: false is the most modern spinner the SDK exposes. The
flag is itself deprecated only because it will become the default, so
the one-line opt-in is lint-suppressed with that rationale.

Signed-off-by: Tizian 「ティツィアーン」 raisondetredev@pm.me

Set `progressIndicatorTheme: ProgressIndicatorThemeData(year2023: false)` on both the light and dark themes so every CircularProgressIndicator / LinearProgressIndicator in the app renders with the updated Material 3 appearance (rounded ends, a track gap, an animated stop indicator) instead of the legacy look — done once in the theme so no call site needs touching. Flutter 3.41 doesn't ship the morphing M3-Expressive loading indicator yet; `year2023: false` is the most modern spinner the SDK exposes. The flag is itself deprecated only because it will become the default, so the one-line opt-in is lint-suppressed with that rationale. Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
project-halkyon/halkyon-shared!4
No description provided.