EffectsSdkImage.fromRGB constructor
Creates solid color image from RGB values.
All values should be in 0.0-1.0 range.
r
: Red component (0.0 to 1.0)g
: Green component (0.0 to 1.0)b
: Blue component (0.0 to 1.0)
Implementation
EffectsSdkImage.fromRGB({
required double r,
required double g,
required double b,
}) : source = SolidRGBImage(r: r, g: g, b: b);