copyWith method

ChildBuilder copyWith({
  1. BuildContext? context,
  2. dynamic state,
  3. CNode? child,
})

Implementation

ChildBuilder copyWith({
  BuildContext? context,
  WidgetState? state,
  CNode? child,
}) =>
    ChildBuilder(
      context: context ?? this.context,
      state: state ?? this.state,
      child: child ?? this.child,
    );