答案 0 :(得分:2)
如果您指的是三个点,那么PopupMenuButton是一种选择:
Scaffold(
appBar: AppBar(
title: Text('Chat'),
actions: <Widget>[
PopupMenuButton<String>(
itemBuilder: (context) => [
PopupMenuItem(
value: 1,
child: Text("Do something..."),
),
],
onSelected: (value) async => {
_doSomething(),
},
),
],
),
drawer: AppDrawer(),
body: something here...
);