copyWith method

WidgetState copyWith({
  1. CNode? node,
  2. bool? isVertical,
  3. int? loop,
})

Implementation

WidgetState copyWith({
  final CNode? node,
  final bool? isVertical,
  final int? loop,
}) {
  return WidgetState(
    node: node ?? this.node,
    loop: loop ?? this.loop,
    isVertical: isVertical ?? this.isVertical,
  );
}