copyWith method

FlutstrapGrid copyWith({
  1. Key? key,
  2. List<Widget>? children,
  3. bool? fluid,
  4. EdgeInsetsGeometry? padding,
  5. EdgeInsetsGeometry? margin,
  6. Color? color,
  7. Decoration? decoration,
  8. AlignmentGeometry? alignment,
  9. 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,
  );
}