StaggeredGridTile.fit constructor
Creates a StaggeredGrid's tile that fits its main axis extent to its
child
's content
Implementation
const StaggeredGridTile.fit({
Key? key,
required int crossAxisCellCount,
required Widget child,
}) : this._(
key: key,
crossAxisCellCount: crossAxisCellCount,
mainAxisCellCount: null,
mainAxisExtent: null,
child: child,
);