fromCubeAsset static method

Future<ColorLut> fromCubeAsset(
  1. String assetPath
)

Loads and parses a .cube asset.

Implementation

static Future<ColorLut> fromCubeAsset(String assetPath) async =>
    tagColorLutSource(
      fromCubeString(await rootBundle.loadString(assetPath)),
      assetPath,
    );