copyWith method

  1. @override
RotatedBoxModifier copyWith({
  1. int? quarterTurns,
})
inherited

Creates a copy of this spec with the given fields replaced by the non-null parameter values.

Implementation

@override
RotatedBoxModifier copyWith({int? quarterTurns}) {
  return RotatedBoxModifier(quarterTurns ?? this.quarterTurns);
}