StaggeredGrid.custom constructor
StaggeredGrid.custom({})
Creates a StaggeredGrid with a custom delegate.
Implementation
StaggeredGrid.custom({
Key? key,
required this.delegate,
this.mainAxisSpacing = 0,
this.crossAxisSpacing = 0,
this.axisDirection,
List<Widget> children = const <Widget>[],
}) : assert(mainAxisSpacing >= 0),
assert(crossAxisSpacing >= 0),
super(key: key, children: children);