Answers for "dark image fluuter"

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

Browse Popular Code Answers by Language