getTexture method

GSubTexture? getTexture(
  1. String? name
)

Returns the GSubTexture instance with the given name.

Implementation

GSubTexture? getTexture(String? name) {
  return _subTextures![name];
}