flutter_responsive_plus 1.0.0
flutter_responsive_plus: ^1.0.0 copied to clipboard
The ultimate Flutter responsive & adaptive toolkit. Combines MediaQuery shortcuts, ScreenUtil-style Figma scaling, LayoutBuilder helpers, platform detection, breakpoint management, and extension-based sizing.
1.1.0 #
✨ New — Per-Breakpoint Figma Canvases #
ResKitDesignConfig— holds separate Figma canvas sizes for mobile, tablet, desktop, web, tabletSmall, tabletLarge, desktopLargeResKitDesignSize— immutable canvas size with 12 built-in named presets (iphone14,ipadMini,macbookAir,webBrowser,fullHD,qhd, …)ResKitConfig.designs— new field; when set, the active canvas auto-switches as the screen size / orientation changesResKit.activeDesign— exposes the currently-activeResKitDesignSizeResKit.figmaWidth/figmaHeight— always reflect the active canvas
✨ New — ResKit.builder() #
ResKit.builder(mobile, tablet, desktop, web, mobileLarge, tabletSmall, tabletLarge, desktopLarge, desktopXL)— supply all possible layouts; the package picks the right one automatically- Accepts both static widgets and
Widget Function(BuildContext)builders onLayoutcallback receivesResKitLayoutInfo(layout type, screen size, active canvas, device type, isWeb)context.responsiveBuilder(…)—BuildContextextension shortcut
✨ New — Supporting Types #
ResKitLayoutTypeenum — one value per builder slotResKitLayoutInfo— snapshot passed toonLayout
1.0.0 #
- Initial release —
ResKitglobal namespace, Figma scaling, num extensions,BuildContextextensions, breakpoints, platform detection,ResponsiveBuilder,AdaptiveBuilder,WebContentWrapper,ResponsiveVisibility,ResKitMediaQuery,ResKitUtils,ResKit.debugPrint()