Skip to content
pubscout

staggered_grid_view_flutter

0.0.4, released 5 years ago by an unverified publisher

A Flutter widget for creating staggered grid layouts.

WASM-ready
$ flutter pub add staggered_grid_view_flutter
Source repository

What it does

Provides a StaggeredGridView widget that arranges children in a grid with variable tile sizes. It supports custom spacing, padding, and cross-axis counts.

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

Use it when

  • You need a grid where tiles can span multiple rows or columns
  • You want a simple, declarative API without external dependencies
  • You are building a UI with non-uniform grid items

Skip it when

  • You already use a more feature-rich grid package like flutter_staggered_grid_view
  • You require advanced layout features such as adaptive breakpoints or complex animations

Strengths

  • Simple API, no external code generation
  • Supports custom spacing and padding
  • Works across all Flutter platforms

Weaknesses

  • No documentation beyond a single README
  • No changelog or version history
  • Limited feature set compared to alternatives

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Add dependency in pubspec and import the widget file

import 'package:staggered_grid_view_flutter/widgets/staggered_grid_view.dart';

StaggeredGridView.count(
  crossAxisCount: 4,
  staggeredTiles: _staggeredTiles,
  mainAxisSpacing: 4,
  crossAxisSpacing: 4,
  padding: const EdgeInsets.all(4),
  children: _tiles,
);

Alternatives

Packages that do the same job and could replace staggered_grid_view_flutter.