copyWith method
FlutstrapGrid
copyWith({
- Key? key,
- List<
Widget> ? children, - bool? fluid,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- Color? color,
- Decoration? decoration,
- AlignmentGeometry? alignment,
- double? rowGap,
Implementation
FlutstrapGrid copyWith({
Key? key,
List<Widget>? children,
bool? fluid,
EdgeInsetsGeometry? padding,
EdgeInsetsGeometry? margin,
Color? color,
Decoration? decoration,
AlignmentGeometry? alignment,
double? rowGap,
}) {
return FlutstrapGrid(
key: key ?? this.key,
children: children ?? this.children,
fluid: fluid ?? this.fluid,
padding: padding ?? this.padding,
margin: margin ?? this.margin,
color: color ?? this.color,
decoration: decoration ?? this.decoration,
alignment: alignment ?? this.alignment,
rowGap: rowGap ?? this.rowGap,
);
}