A Flutter staggered grid view which supports multiple columns with rows of varying sizes. It’s a grid layout where the cross axis is divided in multiple equally sized parts, and places elements in optimal position based on available main axis space. You’ve probably came across some app or website design with staggered grid layout like Pinterest:
To help you to understand the code, you can see that this grid of 10 tiles is divided into 4 columns:
dependencies: fl_chart: ^0.6.1
flutter packages get
import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart';