TextureBox constructor

TextureBox({
  1. required int textureId,
  2. bool freeze = false,
  3. FilterQuality filterQuality = FilterQuality.low,
})

Creates a box backed by the texture identified by textureId, and use filterQuality to set texture's FilterQuality.

Implementation

TextureBox({
  required int textureId,
  bool freeze = false,
  FilterQuality filterQuality = FilterQuality.low,
}) : _textureId = textureId,
    _freeze = freeze,
    _filterQuality = filterQuality;