Skip to content

Use Material 3 Expressive loading indicators#123

Merged
Kanscape merged 3 commits into
mainfrom
material-loading-indicator
Jul 4, 2026
Merged

Use Material 3 Expressive loading indicators#123
Kanscape merged 3 commits into
mainfrom
material-loading-indicator

Conversation

@Kanscape

@Kanscape Kanscape commented Jul 4, 2026

Copy link
Copy Markdown
Owner

No description provided.

@Kanscape Kanscape added the enhancement New feature or request label Jul 4, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 627be8d50c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


final indicator = contained
? LoadingIndicator.contained(
activeIndicatorColor: activeColor,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve contained indicator contrast

When the contained variant is used without an explicit color (as it is from M3ERefreshIndicator), this always passes colorScheme.primary as activeIndicatorColor, overriding the contained indicator’s intended/default contrast color for a primaryContainer background. In themes where primary is close to primaryContainer, the pull-to-refresh shape becomes hard to see; let the contained case use onPrimaryContainer or leave the package default when color is null.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 496a7b041c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

child: widget.child,
),
Positioned(
top: top,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Position refresh indicator for reversed lists

In contexts with a reversed vertical scrollable (checked lib/features/settings/log_viewer_page.dart, where this wrapper now contains ListView.builder(reverse: true)), RefreshIndicator.noSpinner arms from the bottom edge, but this custom overlay is always positioned from the top. Pull-to-refresh in the log viewer therefore shows the M3E indicator at the opposite edge from the user's gesture; derive the overlay edge from the scroll notification/axis direction or handle reversed lists before replacing all RefreshIndicator usages.

Useful? React with 👍 / 👎.

@Kanscape Kanscape merged commit 5bcb569 into main Jul 4, 2026
3 checks passed
@Kanscape Kanscape deleted the material-loading-indicator branch July 4, 2026 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant