Answers for "make a color transaparent in flutter"

2

flutter how to add opacity to color

backgroundColor: Colors.black.withOpacity(0.5)
Posted by: Guest on May-05-2020
0

how to set opacity of background color in flutter

Opacity(
          opacity: 0.5,
          child: Container(
          color: Colors.red,
          width: 200,
          height: 200,
  ),
        ),
Posted by: Guest on November-07-2020

Code answers related to "make a color transaparent in flutter"

Browse Popular Code Answers by Language