createPattern 方法

CanvasPattern? createPattern(
  1. dynamic image,
  2. String repetitionType
)

实现

CanvasPattern? createPattern(
    /*CanvasImageSource*/ image, String repetitionType) native;