Search packages, repositories and app categories

responsive_util cover
Package detailsv0.4.0

responsive_util

A Flutter widget that allows drag resizing of its child's bounds to easily test responsive design.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
132
Likes
50
Pub points
120

Install package

flutter pub add responsive_util

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Responsive_Util is a Flutter package that provides a draggable widget for testing responsive design by allowing users to resize its child's bounds interactively. It helps developers visualize how layouts adapt across different screen sizes during development. The widget supports all major platforms, including mobile, web, and desktop, making it ideal for cross-platform UI testing. By enabling real-time adjustments, it streamlines the process of fine-tuning responsive layouts without needing multiple device emulators.

Use cases

  • Testing responsive layouts in development
  • Adjusting UI behavior across screen sizes
  • Visual debugging of layout constraints
  • Cross-platform UI validation
  • Rapid prototyping of responsive designs
  • Iterative design refinement

Key features

  • Draggable bounds resizing
  • Real-time layout preview
  • Cross-platform support
  • Simple integration with existing widgets
  • No runtime performance overhead
  • Built-in developer-friendly interface

Suitable for

  • Flutter developers focused on responsive UI
  • Teams testing multi-device compatibility
  • Designers collaborating with developers
  • Projects requiring frequent layout adjustments
  • Developers using hot reload for rapid iteration

Considerations

  • Not intended for production use
  • Requires manual activation during development
  • May interfere with gesture handling if nested improperly
  • Limited to visual testing, not automated responsiveness
  • Best used in debug mode only

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

responsive_util

pub package Platform

A Flutter widget that allows drag resizing of its child's bounds to easily test responsive design.

Example Example


Usage

Wrap a widget such as a Scaffold with a ResponsiveUtil and resize it by dragging from the bottom right.

Double-tap to reset bounds.


Properties Description
child The Widget to resize
builder An alternative structure to be used in place of child which directly provides updated constraints to layout similar to a LayoutBuilder
disabled If True, bypasses all functionality
scrollController Required for Widgets that exist in some ScrollView

Categories

Source repository

Projects using this package

No data available yet.