1. @DomName('WebGLRenderingContext.createShader')
  2. @DocsEditable()
Shader createShader(int type)

Source

@DomName('WebGLRenderingContext.createShader')
@DocsEditable()
Shader createShader(int type) => _blink.BlinkWebGLRenderingContext.instance
    .createShader_Callback_1_(this, type);