Skip to content
pubscout

responsive_ui

3.0.1, released 4 years ago by an unverified publisher

Create responsive and nested responsive layouts using a 12-column grid system.

WASM-ready
$ flutter pub add responsive_ui
Source repository

What it does

Provides Responsive and Div widgets that split the screen into a 12-column system similar to Bootstrap or Materialize. It enables setting column sizes and offsets for different screen breakpoints (extra small, small, medium, large, extra large) and supports nested responsive layouts.

AI-written summary of version 3.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want a Bootstrap-like 12-column responsive layout system in Flutter.
  • You need nested responsive layouts inside specific parent containers.

Skip it when

  • You are placing the responsive layout directly inside a horizontal scroll widget.
  • You prefer flex/percentage-based adaptive layouts without a fixed 12-column grid.

Strengths

  • Familiar 12-column grid system inspired by web frameworks like Bootstrap.
  • Supports customizable global breakpoints.
  • Allows nested responsive widgets.

Weaknesses

  • Requires a finite width to work properly and cannot be placed directly inside horizontal scroll views.
  • Sum of offsets and column sizes must not exceed 12.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
Responsive(
    children: <Widget>[
        Div(
            division: Division(
                colS: 5,
                offsetL: 2,
            ),
            child: Card(child: Icon(Icons.game))
        ),
        Div(
            division: Division(
                colS: 12,
                colM: 6,
                colL: 4,
            ),  
            child: Text('responsive ui')
        )          
    ]
)

Alternatives

Packages that do the same job and could replace responsive_ui.

  • responsive_framework

    If you need automatic UI scaling, resizing, and responsive breakpoints across the entire app rather than just a 12-column grid.

  • responsive_builder

    If you prefer building responsive UIs using ScreenTypeLayout and builder functions instead of a column grid.