Skip to content
pubscout

flutter_responsive

1.1.0, released 5 years ago by carda.me

Responsive grid and layout widgets inspired by Bootstrap for Flutter.

WASM-readyCopyleft license
$ flutter pub add flutter_responsive
Source repository

What it does

Provides ResponsiveContainer, ResponsiveRow, ResponsiveCol and JSX widgets that adapt to screen size using predefined breakpoints. It allows margin, padding, width/height limits and custom grid sizes.

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

Use it when

  • You need a Bootstrap‑style grid system in Flutter
  • You want to adapt UI to multiple screen sizes without manual MediaQuery logic
  • You prefer declarative layout widgets over manual calculations

Skip it when

  • You need platform‑specific native layout features not covered by the grid
  • You are building a very simple UI that doesn’t require responsive breakpoints

Strengths

  • Easy to use Bootstrap‑style API
  • Supports multiple platforms (web, mobile, desktop)
  • Allows custom breakpoint limits
  • Null safety and modern Dart

Weaknesses

  • Limited to grid‑based layouts, not full CSS feature set
  • No native platform widgets beyond grid
  • Documentation is basic and may lack advanced examples

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Add dependency in pubspec and import package; no native permissions or build_runner needed

import 'package:flutter_responsive/flutter_responsive.dart';

ResponsiveContainer(
  widthLimit: ResponsiveScreen.limits[ScreenSize.lg],
  children: [
    ResponsiveRow(
      children: [
        ResponsiveCol(
          gridSizes: {ScreenSize.xs:4, ScreenSize.sm:3, ScreenSize.lg:2},
          child: Text('Responsive column')
        )
      ]
    )
  ]
);

Alternatives

Packages that do the same job and could replace flutter_responsive.