copyWith method

Icon copyWith({
  1. String? path,
  2. int? width,
  3. int? height,
  4. bool? isDefault,
})

Implementation

Icon copyWith({String? path, int? width, int? height, bool? isDefault}) {
  return Icon(
    path: path ?? this.path,
    width: width ?? this.width,
    height: height ?? this.height,
    isDefault: isDefault ?? this.isDefault,
  );
}