Answers for "how to set opacity of background color 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 "how to set opacity of background color in flutter"

Browse Popular Code Answers by Language