create method

  1. @override
OvalDrawable create(
  1. Offset position, [
  2. Paint? paint
])
override

Creates and returns a OvalDrawable of zero size and the passed position and paint.

Implementation

@override
OvalDrawable create(Offset position, [Paint? paint]) {
  return OvalDrawable(size: Size.zero, position: position, paint: paint);
}