Answers for "how to make image dark in flutter"

1

darken image flutter

decoration:
BoxDecoration(
  color: const Color(0xff7c94b6),
  image: new DecorationImage(
    fit: BoxFit.cover,
    colorFilter: 
      ColorFilter.mode(Colors.black.withOpacity(0.2), 
      BlendMode.dstATop),
    image: new NetworkImage(
      'http://www.server.com/image.jpg',
    ),
  ),
),
Posted by: Guest on April-06-2021

Code answers related to "how to make image dark in flutter"

Browse Popular Code Answers by Language