Flutter Dart'da bool bir veriye göre boxdecoration komponentimin renk değiştirmesini istiyorum fakat 'ınvalid constant Value.' hatası veriyor. ChatGPT'ye de sordum fakat olumlu bir sonuç alamadım kod bu şekilde:
Positioned(
top: 0,
left: 0,
child: Container(
width: 362,
height: 101...