dynamic_layouts 0.2.1
dynamic_layouts: ^0.2.1 copied to clipboard
A lightweight, dependency-free Flutter package for adaptive UI rendering across mobile, tablet, and desktop screens.
0.2.1 - 2026-04-04 #
- Metadata Fix: Updated homepage and repository URLs in
pubspec.yamlto point to the correct GitHub repository.
0.2.0 - 2026-04-04 #
- Reactive Architecture Overhaul: Transitioned from a strict singleton model to a fully reactive
InheritedWidgetsystem (AdaptiveScope). Layouts now safely and automatically respond to window resizing natively. - Orientation & SafeArea Additions: Added
safeScreenHeightandisLandscape/isPortraitintegrations securely avoiding notches and layout occlusions natively. - Component Widgets (
AdaptiveGrid,AdaptiveNavigationScaffold,showAdaptiveModal,AdaptiveWrap,AdaptiveImage): Expanded widget toolkit handling layout logic conversions gracefully between desktop monitors and native mobile spaces automatically. - Dynamic Property Resolution: Introduced
AdaptiveValue<T>allowing robust scaling and conditional assignment of tokens (Colors, Values, Strings) corresponding to screen footprint sizes. Included built-in presets for tailored configurations: Material 3, Tailwind CSS, Bootstrap 5. - Scaling Context Utilities:
context.w(10),context.h(10),context.sp(10)extensions added to allow seamless and reactive sizing avoiding potentialScreenConfig.instanceexceptions in deeper trees. - Theme Support (
AdaptiveTheme): Effortlessly synchronize typography scopes automatically mapping them acrossThemeDatanatively. - Development HUD (
AdaptiveDebugOverlay): Shipped an overlay to visually test configurations mapping layout metrics efficiently. - Backward Compatible: Existing static implementations of
ScreenConfig.instanceand generic layout elements will not crash and compile strictly successfully.
0.1.0 #
- Initial release.
- Core setup for dynamic layout extensions natively mapping
.w,.h,.sp. - Included legacy
AdaptiveContainer,AdaptivePaddingmechanisms.