Set tooltip for PopupMenuButton

This commit is contained in:
Christian Pauly 2020-01-08 21:20:52 +01:00
parent c686c8ce0e
commit 6f595759d4

View File

@ -81,6 +81,7 @@ class Message extends StatelessWidget {
List<Widget> rowChildren = [ List<Widget> rowChildren = [
Expanded( Expanded(
child: PopupMenuButton( child: PopupMenuButton(
tooltip: "Tap to show menu",
onSelected: (String choice) async { onSelected: (String choice) async {
switch (choice) { switch (choice) {
case "remove": case "remove":