Error: Closure containing a declaration cannot be used with result builder 'ViewBuilder'

19 Views Asked by At

Good evening, Getting an error on one line of code. New to this so is probably a simple human error.

Error: Closure containing a declaration cannot be used with result builder 'ViewBuilder'

Image for the error is attached. Thank you in advance!

0

There are 0 best solutions below