Skip to content

feat: expose consistent factories across Remix stylers#74

Merged
leoafarias merged 6 commits into
mainfrom
feat/issue-70-styler-factories
Jul 15, 2026
Merged

feat: expose consistent factories across Remix stylers#74
leoafarias merged 6 commits into
mainfrom
feat/issue-70-styler-factories

Conversation

@leoafarias

Copy link
Copy Markdown
Member

Description

This PR migrates all public Remix stylers to generated spec stylers and forwards canonical nested factory surfaces from Mix PR #985, enabling contextual shorthand such as .onHovered(.color(...)) and .onPressed(.scale(...)).
It preserves fluent Box conveniences through RemixBoxStylerMixin, source-authors unchanged Fortal widget shells because same-library shared-part ordering prevents MixWidget from resolving generated stylers on a clean build, and documents the alias, conflict, and migration policy.
Representative tests verify factory/fluent equivalence, nested and restricted surfaces, selected-state shorthand, and compatibility with legacy styling behavior.
Validation passed with fvm dart analyze, fvm dart run melos run dcm:check --scope=remix, fvm dart run melos run test:flutter --no-select, and fvm dart run melos run atlas:fortal:check.
Legacy convenience constructors and three conflicting fluent names use documented canonical replacements, so consumers using those APIs must update.

Related Issues

Closes #70.


Checklist

Note: Updating the pubspec.yaml and CHANGELOG.md is not required. These are handled automatically during the release process.

  • My PR includes unit or integration tests for all changed/updated/fixed behaviors.
  • I have updated or added relevant documentation (doc comments with ///).
  • I am prepared to follow up on review comments in a timely manner.

Breaking Change

Does this PR require users of the package to manually update their code?

  • Yes, this is a breaking change.
  • No, this is not a breaking change.

@leoafarias
leoafarias merged commit fbfc069 into main Jul 15, 2026
3 checks passed
@leoafarias
leoafarias deleted the feat/issue-70-styler-factories branch July 15, 2026 23:30
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.

Expose factory constructors consistently across all Remix stylers

1 participant