Grid.fill constructor
Grid.fill(})
Creates a responsive auto-filling grid (e.g. Grid.fill(200, gap: 16, children: [...])).
Implementation
factory Grid.fill(
Object minWidth, {
Object? child,
List<Object?> children = const [],
Object? sm,
Object? md,
Object? lg,
Object? xl,
Object? gap,
String? alignItems,
String? justifyItems,
String? className,
Map<String, Object?> props = const {},
Map<String, Object?> style = const {},
DartStyle? dartStyle,
}) {
return Grid(
child: child,
children: children,
columns: GridCols.fill(minWidth),
sm: sm,
md: md,
lg: lg,
xl: xl,
gap: gap,
alignItems: alignItems,
justifyItems: justifyItems,
className: className,
props: props,
style: style,
dartStyle: dartStyle,
);
}