removeBackground static method

RemoveBackground removeBackground({
  1. bool? screen,
  2. Color? color,
})

Makes the background of an image transparent (or solid white for JPGs).

Use when the background is a uniform color. Receives RemoveBackground object returns Effect.

Implementation

static RemoveBackground removeBackground({bool? screen, Color? color}) {
  return RemoveBackground(screen: screen, color: color);
}