There is an error message in the problem section:A function body must be provided.how i can fix this red underline ? @ draws red under the sign
CodePudding user response:
You are missing a semicolon.
Try as follows:
MyWidget({this,renk}); //you are missing a semicolon here.