theme static method

Theme theme(
  1. Color color, {
  2. int? photosensitivity,
})

Changes the main background color to the one specified, as if a 'theme change' was applied (e.g. dark mode vs light mode).

@see https://cloudinary.com/documentation/transformation_reference#e_theme Receives Color, int returns Effect.

Implementation

static Theme theme(Color color, {int? photosensitivity}) {
  return Theme(color, photosensitivity: photosensitivity);
}