remove PopupMenuButton default tooltip, and then long press will pop up menu
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
52b8cbcd48
commit
07d9162491
@ -23,6 +23,7 @@ class ChatPage extends StatelessWidget implements PageShape {
|
||||
@override
|
||||
final appBarActions = [
|
||||
PopupMenuButton<int>(
|
||||
tooltip: "",
|
||||
icon: Icon(Icons.group),
|
||||
itemBuilder: (context) {
|
||||
// only mobile need [appBarActions], just bind gFFI.chatModel
|
||||
|
@ -215,6 +215,7 @@ class _WebMenuState extends State<WebMenu> {
|
||||
Widget build(BuildContext context) {
|
||||
Provider.of<FfiModel>(context);
|
||||
return PopupMenuButton<String>(
|
||||
tooltip: "",
|
||||
icon: const Icon(Icons.more_vert),
|
||||
itemBuilder: (context) {
|
||||
return (isIOS
|
||||
|
@ -131,6 +131,7 @@ class _FileManagerPageState extends State<FileManagerPage> {
|
||||
),
|
||||
actions: [
|
||||
PopupMenuButton<String>(
|
||||
tooltip: "",
|
||||
icon: Icon(Icons.more_vert),
|
||||
itemBuilder: (context) {
|
||||
return [
|
||||
@ -473,6 +474,7 @@ class _FileManagerViewState extends State<FileManagerView> {
|
||||
setState(() {});
|
||||
})
|
||||
: PopupMenuButton<String>(
|
||||
tooltip: "",
|
||||
icon: Icon(Icons.more_vert),
|
||||
itemBuilder: (context) {
|
||||
return [
|
||||
@ -585,6 +587,7 @@ class _FileManagerViewState extends State<FileManagerView> {
|
||||
onPressed: controller.goToParentDirectory,
|
||||
),
|
||||
PopupMenuButton<SortBy>(
|
||||
tooltip: "",
|
||||
icon: Icon(Icons.sort),
|
||||
itemBuilder: (context) {
|
||||
return SortBy.values
|
||||
|
@ -23,6 +23,7 @@ class ServerPage extends StatefulWidget implements PageShape {
|
||||
@override
|
||||
final appBarActions = [
|
||||
PopupMenuButton<String>(
|
||||
tooltip: "",
|
||||
icon: const Icon(Icons.more_vert),
|
||||
itemBuilder: (context) {
|
||||
listTile(String text, bool checked) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user