Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Padding createPopupMenu() {
- return Padding(
- padding: const EdgeInsets.only(left: 16),
- child: PopupMenuButton<String>(
- child: Icon(Icons.menu),
- itemBuilder: (BuildContext context) {
- return StringsConst.popupItems.map((String item) {
- return PopupMenuItem<String>(
- value: item,
- child: Text(
- item,
- style: new TextStyle(
- color: Colors.white,
- ),
- ),
- );
- }).toList();
- },
- ),
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement