copyWith method

ZetaIndicator copyWith(
  1. {ZetaIndicatorType? type,
  2. ZetaWidgetSize? size,
  3. IconData? icon,
  4. int? value,
  5. bool? inverse}
)

Creates a clone.

Implementation

ZetaIndicator copyWith({
  ZetaIndicatorType? type,
  ZetaWidgetSize? size,
  IconData? icon,
  int? value,
  bool? inverse,
}) {
  return ZetaIndicator(
    type: type ?? this.type,
    size: size ?? this.size,
    icon: icon ?? this.icon,
    value: value ?? this.value,
    inverse: inverse ?? this.inverse,
  );
}