Flutter constructor error

I have a problem with a code snippet I tried to play with, and since I am new to dart I don't really understand the error message. Can somebody explain to me why the error message says The constructor returns type 'dynamic' that isn't of expected...
more »

| dart   | flutter   2017-06-14 19:06 (1) Answers