feat(mix): add WrapBox layout - #1001
Merged
Merged
Conversation
leoafarias
marked this pull request as ready for review
August 1, 2026 16:32
Route the wrap_box branch through _withNestedBranchLiteralSchemas so its decoration and foregroundDecoration export the box-decoration-literal ref instead of the generic property term, and assert both in the schema export golden test.
… comparator Add WrapStyler/WrapBoxStyler/WrapBox to the styler mixin conformance and StyleWidget default-style enumerations, and derive the example golden comparator's basedir from the ambient comparator so goldens resolve regardless of process CWD.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
WrapSpec/WrapStylerand compositeWrapBoxSpec/WrapBoxStyler/WrapBoxAPIswrapAlignment,wrapClipBehavior) plus the.flow(WrapStyler(...))escape hatchmix_protocolv1wrapandwrap_boxcodecs, vocabulary, inventory, schema, token-walking, and round-trip coverageGrid and GridBox changes are intentionally excluded from this PR.
Verification
fvm dart run melos run exports✅fvm dart run melos run gen:build✅fvm dart run melos run format:check✅fvm dart run melos run ci✅fvm dart run melos run schema:inventory✅ (402 IDs)fvm dart run melos run analyze:dart✅ (all 10 packages)Existing baseline/tooling limitations
fvm dart run melos run analyzereaches DCM after schema and Dart analysis pass, then reports 14 existing issues in four unchanged files:mix_annotations/lib/src/annotations.dartand the three existing MixWidget generator files.fvm dart run melos run api-check -- mix 2.2.0-beta.1cannot generate a report becausedart_apitoolencounters the existing method/constructor ambiguity forWidgetModifierConfig.translate; that file is unchanged by this PR.