I suggest the flutter bloc shopping cart app https://medium.com/@ThinkodeAI/flutter-bloc-shopping-cart-app-part-1-436eeb56e57f
As others have noted, this is more than just a ‘gotcha’ question that requires erudite knowledge. Understanding how to ‘think declaratively’ is paramount for Flutter and the best explanation I ever saw was this. Task: Go from point a to b Imperative: Back up, go left, right, forwards… Declarative: here’s the address Sure, both may work although many times our initial position changes which means the imperative approach is pretty brittle. Code on 💪🏼
Some get this guy paid
Ask them to explain declarative programming to you. If they are stunned and unable to give a coherent answer then think twice about hiring them to implement a declarative ui framework. And then consider some developers here! Im currently interviewing for lead dev roles 😉