dart color with opacity code example
Example 1: flutter how to add opacity to color
backgroundColor: Colors.black.withOpacity(0.5)
Example 2: opacity color flutter
Color(0xFF0E3311).withOpacity(0.5)
backgroundColor: Colors.black.withOpacity(0.5)
Color(0xFF0E3311).withOpacity(0.5)