flutter_desktop: remove animation & adjust popup menu

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-09-23 12:20:40 +08:00
parent e789b2c3a8
commit b8a382a0d8
8 changed files with 478 additions and 279 deletions

View File

@@ -11,7 +11,8 @@ import '../../mobile/pages/settings_page.dart';
import '../../models/platform_model.dart';
class AddressBook extends StatefulWidget {
const AddressBook({Key? key}) : super(key: key);
final EdgeInsets? menuPadding;
const AddressBook({Key? key, this.menuPadding}) : super(key: key);
@override
State<StatefulWidget> createState() {
@@ -180,7 +181,9 @@ class _AddressBookState extends State<AddressBook> {
Expanded(
child: Align(
alignment: Alignment.topLeft,
child: AddressBookPeersView()),
child: AddressBookPeersView(
menuPadding: widget.menuPadding,
)),
)
],
));