Source
@override String get vertexShaderSource => """ uniform mat4 uProjectionMatrix; attribute vec2 aVertexPosition; attribute vec2 aVertexTextCoord; attribute vec4 aVertexColor; varying vec2 vTextCoord; varying vec4 vColor; void main() { vTextCoord = aVertexTextCoord; vColor = aVertexColor; gl_Position = vec4(aVertexPosition, 0.0, 1.0) * uProjectionMatrix; } """;