I can't run even a simple code. I think the problem is with the container. dart
This is the full picture in debug console. I am doing flutter for 1 month. Can someone help me out?
CodePudding user response:
Somehow you've corrupted your Flutter install. That line 274 is meant to say color == null
not color = null
assert(color == null || decoration == null,
'Cannot provide both a color and a decoration\n'
'To provide both, use "decoration: BoxDecoration(color: color)".',
),
You can just correct that back, but you may want to remove and reinstall Flutter, just in case there are other corruptions.