flutter_screen_responsive 0.0.6
flutter_screen_responsive: ^0.0.6 copied to clipboard
Responsive layout toolkit for Flutter using configurable breakpoints and ScreenUtil.
0.0.6 #
- Add
DeviceType.tabletSmalland align enum order:mobileSmall < mobile < tabletSmall < tablet < desktop < desktopLarge. - Responsive: add builders
mobileSmall,tabletSmall,desktopLargeand implement full switch-based fallbacks. - ResponsiveUtils:
- add
isTabletSmallgetter - simplify
.value<T>()to a switch with the same fallbacks asResponsive
- add
- README: update device types, examples, and add
.value<T>()usage.
0.0.5 #
- Resolved pub points issues (analysis clean, tightened docs/metadata).
0.0.3 #
- Added additional default
DeviceTypes:mobileSmall,laptop,desktopLarge. - Optimized breakpoint selection in
ResponsiveUtils:- ordered breakpoint list with cached last index
- O(1) fast path and neighbor hop, small-N scan, O(log n) fallback
- added
breakpointForWidth(width)to get the exact active breakpoint
- Resolved extension conflicts with
flutter_screenutilby aliasing tosuand hiding its extension symbols. - Documentation: improved docs in
src/extension.dart,src/init.dart, andsrc/device_type.dart. - New adaptive widgets added:
RPadding,RSizedBox.
0.0.2 #
- Updated README.md documentation