copyWith method
FlutstrapContainer
copyWith({
- Key? key,
- Widget? child,
- bool? fluid,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- Color? color,
- Decoration? decoration,
- double? width,
- double? height,
- AlignmentGeometry? alignment,
- Clip? clipBehavior,
Implementation
FlutstrapContainer copyWith({
Key? key,
Widget? child,
bool? fluid,
EdgeInsetsGeometry? padding,
EdgeInsetsGeometry? margin,
Color? color,
Decoration? decoration,
double? width,
double? height,
AlignmentGeometry? alignment,
Clip? clipBehavior,
}) {
return FlutstrapContainer(
key: key ?? this.key,
child: child ?? this.child,
fluid: fluid ?? this.fluid,
padding: padding ?? this.padding,
margin: margin ?? this.margin,
color: color ?? this.color,
decoration: decoration ?? this.decoration,
width: width ?? this.width,
height: height ?? this.height,
alignment: alignment ?? this.alignment,
clipBehavior: clipBehavior ?? this.clipBehavior,
);
}