0

I am displaying an Image with filter effects on Screen using in filter

Image.file( imageFile, color: color.withOpacity(0.5), colorBlendMode: BlendMode.hardLight, ),

I need to write these color effects to 'imagefile'

LOVKUSH SINGH
  • 13
  • 1
  • 2

1 Answers1

0

Image.file(); is a widget, if you need to write widget to a disk as an image. Take a look at this Creating raw image from Widget or Canvas

otherwise, if you need to edit an image(like adding a filter) maybe it works How To Create A Filtered Image In Flutter

or below package https://pub.dev/packages/photofilters

Yadu
  • 2,584
  • 2
  • 10
  • 26
Mehrdad
  • 1,170
  • 9
  • 14