draftmode_framework 1.1.1
draftmode_framework: ^1.1.1 copied to clipboard
Reusable Flutter package for iOS-first native-feeling app foundations.
Changelog #
1.1.1 - 2026-08-10 #
- No notable changes.
1.1.0 - 2026-08-10 #
Unreleased #
Added #
- add explicit
DraftModeUIThemeData.iosLight,iosDark,androidLight,androidDark, andplatform(...)factories for platform-aware theme setup - add Android-aware test host helpers so framework widgets can be exercised under Material style without per-widget setup hacks
- add public
DraftModeUIRoutehelpers so package and example navigation can share the same adaptive page-route selection
Changed #
- refactor the theme foundation around semantic platform metadata
(
platformStyle,brightness) while keepinglight()anddark()as the existing iOS-compatible aliases - refactor
DraftModeUIButtonandDraftModeUISwitchbehind adaptive facade renderers so iOS keeps its current behavior while Android gets framework-owned sizing, loading, and switch alignment defaults - refactor
DraftModeFormFieldinput rendering behind adaptive private renderers so iOS preserves the Cupertino baseline while Android gets framework-owned Material text input treatment without forking validation or formatter logic - refactor date/time and calendar primitives behind adaptive renderers so iOS keeps the inline Cupertino baseline while Android gets framework-owned dialog-based date and time interactions without duplicating normalization, formatting, or range-shifting logic
- route example screen pushes and internal navigation helpers through the shared adaptive route resolver instead of hard-coding Cupertino routes
- keep the previous
cupertinoThemeentrypoint as a compatibility bridge instead of the core theme contract - document the platform-aware theme model and variant entrypoints across the package docs
- honor
DraftModePage.topLeadingTextfor the framework-owned adaptive back item while preserving customtopLeadingoverrides
1.0.1 - 2026-07-16 #
Fixes #
- remove duplicate 1.0.1 release entry (33bf26d)
- remove deprecated list cache usage and update supported dependency constraints (93e99d3)
1.0.0 #
- Ships the first stable
DraftModeFrameworkpackage release under the publisheddraftmode_frameworkname. - Provides reusable iOS-first UI, page, navigation, form, validation, entity, storage, repository, localization, and formatter foundations.
- Keeps reusable package code in
lib/and a concrete host/reference app inexample/, with the example exercising real shared, secure, and HTTP-backed flows through fake in-memory transport where needed. - Aligns docs, agent guidance, and package metadata with the production-ready
1.0.0structure and boundaries.