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,979
  • 2
  • 12
  • 27
Mehrdad
  • 1,477
  • 15
  • 17