Beginning Flutter: 23 PopupMenuButton

Опубликовано: 03 Июнь 2018
на канале: Dash to Dartlang
4,566
53

PopupMenuButton opens a list of options from which to choose. We introduce itemBuilder, where you just need to point to a created list, and then Flutter builds the PopupMenuButton from there.

We create a List, which depends upon a class, in order to access objects from that class, with defined properties. That's a little confusing, so please review the video. class A has certain properties: a, b. The List we create is composed of instantiated objects of the class A.

We also review Card, and go into more detail about States. Sorry, but this video is rather repetitive. Sometimes I do that to really reinforce the ideas.