From 1a0149afc6bb792dc2e477cb5e69782ab5b03b10 Mon Sep 17 00:00:00 2001 From: Oleksandr Sobol Date: Fri, 1 May 2020 22:24:31 +0300 Subject: [PATCH] CWA-200 | called menu widget --- lib/src/screens/dashboard/dashboard_page.dart | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/src/screens/dashboard/dashboard_page.dart b/lib/src/screens/dashboard/dashboard_page.dart index bd0cfb6db..b05bb8d9a 100644 --- a/lib/src/screens/dashboard/dashboard_page.dart +++ b/lib/src/screens/dashboard/dashboard_page.dart @@ -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( + builder: (_) => MenuWidget(), + context: context + ); + }, child: menuButton), ), );