Texture constructor Null safety
- {Key? key,
- required int textureId,
- bool freeze = false,
- FilterQuality filterQuality = FilterQuality.low}
Creates a widget backed by the texture identified by textureId, and use filterQuality to set texture's FilterQuality.
Implementation
const Texture({
super.key,
required this.textureId,
this.freeze = false,
this.filterQuality = FilterQuality.low,
}) : assert(textureId != null);