Answers for "opacity in colors 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

Browse Popular Code Answers by Language