From b7a60b0bb7a374b075f2bbfc7f8c019695efcffd Mon Sep 17 00:00:00 2001 From: MohammadTaha Basiri Date: Tue, 11 Jan 2022 15:55:18 +0330 Subject: [PATCH] D1APP-16 flushbar edits --- lib/utils/action_sheet.dart | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/utils/action_sheet.dart b/lib/utils/action_sheet.dart index 5e37f8e..da68092 100644 --- a/lib/utils/action_sheet.dart +++ b/lib/utils/action_sheet.dart @@ -63,12 +63,17 @@ class ActionSheetUtils { break; } await Flushbar( - margin: const EdgeInsets.symmetric(horizontal: 16), + margin: const EdgeInsets.only(left: 16, right: 16, bottom: 16), borderColor: foregroundColor, backgroundColor: backgroundColor, borderRadius: DesignConfig.mediumBorderRadius, - icon: const Icon(DidvanIcons.info_circle_solid), + padding: const EdgeInsets.symmetric(vertical: 16), + icon: Icon( + DidvanIcons.info_circle_solid, + color: foregroundColor, + ), shouldIconPulse: true, + dismissDirection: FlushbarDismissDirection.HORIZONTAL, flushbarPosition: FlushbarPosition.BOTTOM, messageText: StatefulBuilder(builder: (context, setState) { if (isInit) {