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