Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter popupmenubutton

PopupMenuButton(
        itemBuilder: (BuildContext context) => <PopupMenuEntry>[
          const PopupMenuItem(
            child: Text('Option1'),
          ),
          const PopupMenuItem(
            child: Text('Option2'),
          ),
          const PopupMenuItem(
            child: Text('Option3'),
          ),
        ],
      )
Source by api.flutter.dev #
 
PREVIOUS NEXT
Tagged: #flutter #popupmenubutton
ADD COMMENT
Topic
Name
3+6 =