copyWith abstract method

  1. @override
ShapeDrawable copyWith({
  1. bool? hidden,
  2. Set<ObjectDrawableAssist>? assists,
  3. Offset? position,
  4. double? rotation,
  5. double? scale,
  6. Paint? paint,
  7. bool? locked,
})
override

Creates a copy of this but with the given fields replaced with the new values.

Implementation

@override
ShapeDrawable copyWith({
  bool? hidden,
  Set<ObjectDrawableAssist>? assists,
  Offset? position,
  double? rotation,
  double? scale,
  Paint? paint,
  bool? locked,
});