auto_screen 0.0.4
auto_screen: ^0.0.4 copied to clipboard
A Flutter package for responsive UI and screen size adaptation.
0.0.4 #
Initial Release #
Core Features
- ✅ Responsive sizing system based on design dimensions
- ✅ ScreenUtil class for managing responsive values
- ✅ Number extensions (.w, .h, .sp, .r, .s, .wp, .hp)
- ✅ BuildContext extensions for easy access to screen properties
Responsive Text
- ✅ Pre-defined responsive text styles (display, h1-h6, body, caption, etc.)
- ✅ AdaptiveText widget with auto-scaling
- ✅ Custom text style creation with responsive sizing
- ✅ Support for system font scaling
Responsive Layout
- ✅ ResponsiveSpacing utilities (xs, sm, md, lg, xl, xxl)
- ✅ ResponsivePadding utilities with multiple constructors
- ✅ ResponsiveMargin utilities
- ✅ ResponsiveBorderRadius utilities
- ✅ ResponsiveBuilder widget
- ✅ ResponsiveLayout widget for different device layouts
- ✅ ResponsiveGridView for adaptive grids
- ✅ ResponsiveContainer and ResponsiveSizedBox
- ✅ OrientationResponsive widget
Breakpoints & Device Detection
- ✅ Breakpoints class with predefined breakpoints
- ✅ Device type detection (phone, tablet, desktop)
- ✅ MediaQueryHelper for easy media query access
- ✅ ResponsiveValue and ResponsiveDimension classes
- ✅ Conditional widgets (MobileOnly, TabletOnly, DesktopOnly)
- ✅ Hide widgets (HideOnMobile, HideOnTablet, HideOnDesktop)
Additional Features
- ✅ Safe area support
- ✅ Keyboard detection
- ✅ Orientation handling
- ✅ Percentage-based sizing
- ✅ Custom breakpoint support
- ✅ Zero external dependencies
Documentation
- ✅ Comprehensive README with examples
- ✅ Complete usage guide
- ✅ Best practices and tips
- ✅ Common patterns and recipes
- ✅ Troubleshooting guide
- ✅ Full example app