copyWith method

CkListLoaderConfig copyWith({
  1. Widget? loaderWidget,
  2. Widget? noMoreDataWidget,
  3. Widget? emptyWidget,
})

Implementation

CkListLoaderConfig copyWith({
  Widget? loaderWidget,
  Widget? noMoreDataWidget,
  Widget? emptyWidget,
}) {
  return CkListLoaderConfig(
    loaderWidget: loaderWidget ?? this.loaderWidget,
    noMoreDataWidget: noMoreDataWidget ?? this.noMoreDataWidget,
    emptyWidget: emptyWidget ?? this.emptyWidget,
  );
}