Skip to content

docs: document Mix 2.3 pressable shorthand - #59

Merged
leoafarias merged 1 commit into
mainfrom
docs/mix-pressable-shorthand
Nov 1, 2026
Merged

leoafarias merged 1 commit into
mainfrom
docs/mix-pressable-shorthand

Conversation

@leoafarias

Copy link
Copy Markdown
Contributor

Changes

Mix 2.3.0 added BoxStyler.pressable(...), but the website only showed explicit constructors. Document the Box-only shorthand, required child, immediate PressableBox return, reuse, and supported constructor fallback. Link it from common patterns, dynamic styling, and the widget overview.

Existing runnable previews and their dependencies are unchanged. This documents the released API from btwld/mix#1088; it does not introduce callable builders.

Validation

  • pnpm run test:site: 47 tests passed.
  • pnpm run check:previews: 74 registry entries passed; preview sources unchanged.
  • pnpm run build: passed, including 103 routes and Pagefind indexing; existing unrelated lint warnings remain.
  • New Dart examples: analysis and Flutter bundle compilation passed against published Mix 2.3.0.
  • Rendered heading and all three cross-links verified; independent review and git diff --check passed.

@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
mix-docs Ready Ready Preview Nov 1, 2026 9:44pm UTC

Request Review

@leoafarias
leoafarias merged commit 509c4a9 into main Nov 1, 2026
7 checks passed
@leoafarias
leoafarias deleted the docs/mix-pressable-shorthand branch November 18, 2026 01:02

This branch was successfully deployed

1 active deployment
Preview – mix-docs — 3d7c4628 Deployed Nov 1, 2026 by vercel[bot]
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