Skip to content
Snippets Groups Projects
Commit 526fd63b authored by vjrj's avatar vjrj
Browse files

Fix show balance with a more explicit icon

parent a5d27930
No related branches found
No related tags found
No related merge requests found
......@@ -78,11 +78,20 @@ class _TransactionsAndBalanceWidgetState
// _refreshTransactions();
},
),
const BackdropToggleButton()
/* IconButton(
icon: const Icon(Icons.savings),
onPressed: () => Backdrop.of(context).animationController,
) */
// const BackdropToggleButton(),
LayoutBuilder(
builder: (BuildContext lContext,
BoxConstraints constraints) =>
IconButton(
icon: const Icon(Icons.savings),
onPressed: () {
if (Backdrop.of(lContext).isBackLayerConcealed) {
Backdrop.of(lContext).revealBackLayer();
} else {
Backdrop.of(lContext).concealBackLayer();
}
})),
const SizedBox(width: 10),
],
),
backLayer: Center(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment