Skip to content

Prepare 4.0: material_ui migration, animation fixes, and docs - #77

Merged
hnvn merged 3 commits into
masterfrom
cursor/docs-tests-animation-lifecycle
Aug 21, 2026
Merged

Prepare 4.0: material_ui migration, animation fixes, and docs#77
hnvn merged 3 commits into
masterfrom
cursor/docs-tests-animation-lifecycle

Conversation

@hnvn

@hnvn hnvn commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Migrate off package:flutter/material.dart to the standalone material_ui package and bump to 4.0.0 (Flutter >=3.44.0 / Dart ^3.12.0).
  • Fix animation lifecycle so period updates at runtime, enabled can restart a finished loop, and infinite loops start with repeat().
  • Expand widget tests, refresh README/docs/, modernize CI, and align the example iOS project with Flutter 3.47 (iOS 15 + UIScene).

Test plan

  • flutter test (18 tests)
  • flutter analyze in the package and example/
  • Confirm apps still on package:flutter/material.dart can wrap legacy subtrees in MaterialUiCompatibilityBridge
  • Run example/ Loading List and Slide To Unlock demos
  • Toggle enabled and change period / loop on a live Shimmer without remounting

Made with Cursor

hnvn and others added 3 commits August 21, 2026 11:33
Keep period, enabled, and infinite loops in sync at runtime, and replace the single construction smoke test with coverage plus usage docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
Flutter 3.47 decoupled Material from the SDK; this major bump requires Flutter 3.44+ so consumers track the new design library.

Co-authored-by: Cursor <cursoragent@cursor.com>
Raise the iOS deployment target, adopt UIScene, and ignore generated SwiftPM/build paths so the demo matches the new SDK floor.

Co-authored-by: Cursor <cursoragent@cursor.com>

@hnvn hnvn left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

LGTM

@hnvn
hnvn merged commit f7dfa46 into master Aug 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant