Skip to content
pubscout

simple_grid

0.1.5, released 2 years ago by gepcode.com

A dynamic grid layout package for Flutter inspired by Bootstrap and Material UI breakpoints.

WASM-ready
$ flutter pub add simple_grid
Source repository

What it does

Provides SpGrid and SpGridItem widgets to create responsive layouts using a 12-column grid system based on MediaQuery breakpoints. It supports customizable breakpoints and item ordering.

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

Use it when

  • You need a Bootstrap-style or Material-UI style 12-column grid system in Flutter.
  • You want responsive grid layouts that adapt to screen widths using MediaQuery.

Skip it when

  • You need complex staggered grid layouts (use flutter_staggered_grid_view instead).
  • You prefer layout approaches that avoid MediaQuery rebuilds.

Strengths

  • Familiar concepts for developers coming from Bootstrap or Material-UI grids.
  • Customizable breakpoints and built-in item ordering capabilities.

Weaknesses

  • Relies directly on MediaQuery for layout sizing.
  • Limited documentation outside of basic grid and order examples.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
SpGrid(
  width: MediaQuery.of(context).size.width,
  children: [
    SpGridItem(
      xs: 12,
      sm: 6,
      md: 4,
      lg: 3,
      child: Container(
        color: Colors.blue,
        height: 200,
      ),
    ),
  ],
);

Alternatives

Packages that do the same job and could replace simple_grid.