How to override gradient color parameter of Container widget with color parameter – Flutter
I have used gradient parameter of a Container widget which shows gradient color only if the condition is true if not gradient color is transparent. Excepted Output : - If the condition is false then Container widget could be colored…