Texture constructor

const Texture({Key key, @required int textureId })

Creates a widget backed by the texture identified by textureId.

Implementation

const Texture({ Key key, @required this.textureId }): assert(textureId != null), super(key: key);