transparent image in flutter code example Example: flutter how to add opacity to color Click to copybackgroundColor: Colors.black.withOpacity(0.5)