create abstract method

T create(
  1. Offset position, [
  2. Paint? paint
])

Creates the desired shape drawable. Inheriting classes must override this method to create the appropriate ShapeDrawable.

Implementation

T create(Offset position, [Paint? paint]);