copyWith method
GridGroupStyle
copyWith({
- ScrollController? controller,
- bool? primary,
- Axis? scrollDirection,
- bool? reverse,
- ScrollPhysics? physics,
- SliverGridDelegate? gridDelegate,
- double? height,
- double? width,
Implementation
GridGroupStyle copyWith({
ScrollController? controller,
bool? primary,
Axis? scrollDirection,
bool? reverse,
ScrollPhysics? physics,
SliverGridDelegate? gridDelegate,
double? height,
double? width,
}) {
return GridGroupStyle(
controller: controller ?? this.controller,
primary: primary ?? this.primary,
scrollDirection: scrollDirection ?? this.scrollDirection,
reverse: reverse ?? this.reverse,
physics: physics ?? this.physics,
gridDelegate: gridDelegate ?? this.gridDelegate,
height: height ?? this.height,
width: width ?? this.width,
);
}