adapti_flow 1.0.0
adapti_flow: ^1.0.0 copied to clipboard
A comprehensive zero-dependency Flutter responsive design system with adaptive layouts, percentage-based sizing, device detection, design-proportional scaling, and fully customizable breakpoints. Work [...]
1.0.0 #
- Initial release
- Configuration system:
AdaptiFlowInheritedWidget withAdaptiFlowDatafor fully customizable breakpoints, scale factors, and adaptive values - Device detection:
DeviceTypeenum withcontext.deviceType,context.isMobile,context.isTablet,context.isDesktop,context.isWidescreen - Percentage-based sizing:
context.wp(),context.hp(),context.swp(),context.shp() - Design-proportional scaling:
context.w(),context.h(),context.r(),context.sp()— similar to flutter_screenutil - Responsive scaling:
context.scale(),context.fontSize()with configurable multipliers - Adaptive values:
context.adaptivePadding,context.adaptiveMargin,context.adaptiveSpacing - Layout widgets:
ResponsiveLayout,ResponsiveLayoutBuilder,SafeResponsiveLayout - Utility widgets:
ResponsiveText,ResponsiveGrid,ResponsivePadding,ResponsiveVisibility - Spacer system:
ResponsiveSpacerwith auto-direction detection,Spacers.s4throughSpacers.s48 - Widget constraints:
.constrained(),.constrainedBoth(),.adaptiveConstrained()extensions - Responsive values:
responsiveValue(),ResponsiveValue<T>,orientationValue() - Safe area handling: Keyboard-aware, notch-safe, scrollable layout wrapper
- Performance: Uses
MediaQuery.sizeOf/paddingOf/orientationOf/viewInsetsOffor minimal rebuilds - Zero dependencies: Pure Flutter, no external packages
- Cross-platform: Works on iOS, Android, macOS, Windows, Linux, and Web