isSupported property

bool get isSupported

Whether the active backend can create 2D-array textures. True on the web backends, and on Metal and Vulkan with Flutter 3.50 or newer.

Implementation

static bool get isSupported => gpu.supportsTextureArrays;