1. @DomName('WebGL2RenderingContext.createShader')
  2. @DocsEditable()
  3. @Experimental()
Shader createShader(int type)

Source

@DomName('WebGL2RenderingContext.createShader')
@DocsEditable()
@Experimental() // untriaged
Shader createShader(int type) => _blink.BlinkWebGL2RenderingContext.instance
    .createShader_Callback_1_(this, type);