flutter_adaptive_kit 0.1.3
flutter_adaptive_kit: ^0.1.3 copied to clipboard
A comprehensive Flutter package for building responsive and adaptive UIs. Combines design size scaling, device detection, breakpoints, and extension methods in one unified API.
Flutter Adaptive Kit - Changelog #
All notable changes to this project will be documented in this file.
0.1.3 - 2026-01-30 #
Changed #
- Renamed library file to
flutter_adaptive_kit.dartto match package name - Updated example app with
OrientationDemowidget
0.1.2 - 2026-01-30 #
Added #
OrientationLayoutBuilderwidget for orientation-specific layoutsOrientationLayoutsimpler widget versionAdaptiveOrientationBuilderfor device type + orientation combinationscontext.orientationValue()method for orientation-based valuescontext.adaptiveOrientation()method for device + orientation values
0.1.0 - 2026-01-30 #
Added #
-
Core Package
AdaptiveScopewidget for wrapping your app with configurationAdaptiveBreakpointsfor customizable device type breakpointsDesignSizeconfiguration for Figma/XD design dimensions
-
Device Detection
DeviceTypeenum (phone, tablet, desktop, foldable)ScreenSizeenum (xs, sm, md, lg, xl)AdaptiveDeviceInfoclass with full screen metrics- Foldable device detection via aspect ratio
-
Extension Methods
numextensions:.aw,.ah,.ar,.asp,.pw,.ph,.gapW,.gapH- NEW:
.diagonaland.diameterfor advanced scaling EdgeInsetsextensions:.aw,.ah,.ar,.awhBorderRadius,Radius,BoxConstraints,SizeextensionsBuildContextextensions for device info and responsive values
-
Builder Widgets
AdaptiveBuilder- Different widgets per device typeAdaptiveLayout- Simpler widget-based versionResponsiveBuilder- Different widgets per screen sizeResponsiveLayout- Simpler widget-based versionResponsiveBreakpointBuilder- Rebuilds on breakpoint changes
-
Text Widgets
- NEW:
AdaptiveText- Auto-scaling text widget - NEW:
AdaptiveRichText- Auto-scaling rich text widget
- NEW:
-
Visibility Widgets
AdaptiveVisibility- Show/hide by device typeResponsiveVisibility- Show/hide by screen size- Convenience constructors:
.phoneOnly,.tabletOnly,.tabletUp, etc.
-
Utilities
- NEW:
AdaptiveUtils.ensureScreenSize()for web/desktop initialization - NEW:
PlatformUtilsfor detecting iOS, Android, web, macOS, Windows, Linux AdaptiveSpacing- Pre-defined spacing (xxs to xxl)AdaptiveFontSize- Pre-defined font sizes (caption to display)ResponsiveValue- Type-safe responsive values by device typeScreenResponsiveValue- Type-safe responsive values by screen size
- NEW:
-
Advanced Features
- NEW: Landscape breakpoint support (
AdaptiveBreakpoints.withLandscape) - NEW:
useShortestSideoption for consistent orientation handling - Platform-aware device detection
- NEW: Landscape breakpoint support (
-
Example App
- Complete demo showing phone/tablet/desktop layouts
- Device info display
- Extension methods demonstration
- Responsive grid with dynamic columns