Skip to content

fix(mix): preserve BoxShadow blur style - #992

Merged
leoafarias merged 1 commit into
mainfrom
fix/990
Jul 22, 2026
Merged

fix(mix): preserve BoxShadow blur style#992
leoafarias merged 1 commit into
mainfrom
fix/990

Conversation

@leoafarias

Copy link
Copy Markdown
Member

Related issue

Closes #990

Description

Preserves non-default BoxShadow.blurStyle values through the complete BoxShadowMix lifecycle so converting and resolving a Flutter box shadow is lossless.

Changes

  • Add public constructor, factory, fluent setter, conversion, merge, resolution, diagnostics, and equality support for blurStyle.
  • Add regression coverage for non-default round-tripping, maybeValue, merge precedence, and equality.
  • Classify the new field as outside the existing Mix Protocol v1 wire contract without changing that format.

Review Checklist

  • Testing: Focused tests, workspace generation, full CI, schema inventory, Dart analysis, and DCM analysis pass.
  • Breaking Changes: No breaking changes; the API addition is additive.
  • Documentation Updates: Updated the public API documentation; no separate guide changes are required.
  • Website Updates: No website updates are required.

Additional Information (optional)

The API compatibility script could not generate a report because dart_apitool cannot disambiguate the repository's existing WidgetModifierConfig.translate members.

@leoafarias
leoafarias marked this pull request as ready for review July 22, 2026 22:37
@leoafarias
leoafarias merged commit fdddb61 into main Jul 22, 2026
4 checks passed
@leoafarias
leoafarias deleted the fix/990 branch July 22, 2026 23:37
@leoafarias leoafarias mentioned this pull request Jul 22, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preserve and expose BoxShadow.blurStyle in BoxShadowMix

1 participant