CWA-200 | called menu widget

This commit is contained in:
Oleksandr Sobol 2020-05-01 22:24:31 +03:00
parent 204ae22054
commit 1a0149afc6

View file

@ -1,3 +1,4 @@
import 'package:cake_wallet/src/screens/dashboard/widgets/menu_widget.dart';
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:cake_wallet/palette.dart';
@ -24,7 +25,12 @@ class DashboardPage extends BasePage {
highlightColor: Colors.transparent,
splashColor: Colors.transparent,
padding: EdgeInsets.all(0),
onPressed: () {},
onPressed: () async {
await showDialog<void>(
builder: (_) => MenuWidget(),
context: context
);
},
child: menuButton),
),
);