transparent background flutter code example
Example: how to set opacity of background color in flutter
Opacity(
opacity: 0.5,
child: Container(
color: Colors.red,
width: 200,
height: 200,
),
),