Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Open-source Flutter package for automatically adapting UI to different screen sizes via breakpoints and auto-scaling.
Responsive Framework is an open-source Flutter package from Codelessly that automatically adapts mobile, tablet, and desktop user interfaces to different screen sizes using breakpoints, auto-scaling, and a set of responsive widgets.
Responsive Framework is a Flutter library (package responsive_framework) that helps developers build apps for mobile, desktop, and web without recreating layouts for each screen size. It takes a Flutter widget tree and wraps it with ResponsiveBreakpoints.builder, and it produces UI that resizes or scales based on defined breakpoints. The package is maintained by Codelessly, a Flutter app UI and website builder, and is licensed under BSD Zero-Clause.
largerThan, smallerThan, equals, and between.ResponsiveBreakpoint.autoScale.ResponsiveBreakpoints.of(context).isMobile to render compact UI.Add responsive_framework to pubspec.yaml, then wrap your app's builder with ResponsiveBreakpoints.builder, pass an array of Breakpoint objects with start/end widths and names, and access the current state via ResponsiveBreakpoints.of(context). The package respects Flutter's default resizing and only scales when you enable autoScale at a breakpoint.
ResponsiveWrapper API was deprecated and removed in v1.0.0, with a migration guide provided, so older code requires updates.Responsive Framework is free and open-source, released under the BSD Zero-Clause license. It is also distributed as "emailware," meaning developers are invited (not required) to subscribe to Codelessly updates.
Yes, Responsive Framework is open-source under BSD Zero-Clause, so you can use, copy, modify, and distribute it freely. It is also considered emailware: it asks you to subscribe to Codelessly updates, but this is optional.
Add responsive_framework: ^latest_version to your pubspec.yaml, then wrap your MaterialApp or CupertinoApp builder with ResponsiveBreakpoints.builder. Define breakpoints and labels for MOBILE, TABLET, DESKTOP, and more using the Breakpoint class.
Yes, it supports mobile, tablet, desktop, and website layouts. The demo projects include a minimal website, a recreation of flutter.dev, and a recreation of pub.dev, all built in Flutter with responsive web support.
AutoScale is a feature that proportionally shrinks and expands the layout to preserve the exact look of your UI as the screen size changes. It is off by default, and you enable it per breakpoint by setting autoScale: true in a ResponsiveBreakpoint.
ResponsiveWrapper was the legacy API used in versions at or below v0.2.0. In v1.0.0, it was replaced by ResponsiveBreakpoints.builder and widgets like ResponsiveValue and ResponsiveVisibility. A migration guide is available in the repository.
