mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 01:35:23 +00:00
12 lines
317 B
Dart
12 lines
317 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
void showPopupMenu(
|
|
{required BuildContext context, List<PopupMenuEntry<String>>? items}) async {
|
|
await showMenu(
|
|
context: context,
|
|
position: RelativeRect.fromLTRB( MediaQuery.of(context).size.width/2 , 100, 0, 0),
|
|
items: items!,
|
|
elevation: 8.0,
|
|
);
|
|
}
|