From e3bfe83ea239129ff0bb806cc35a64d49ddff013 Mon Sep 17 00:00:00 2001 From: "Mirza.Shafique" Date: Tue, 26 Oct 2021 09:48:19 +0300 Subject: [PATCH] app bar back icon issue --- lib/widgets/others/app_scaffold_widget.dart | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/widgets/others/app_scaffold_widget.dart b/lib/widgets/others/app_scaffold_widget.dart index 735eb9af..45642833 100644 --- a/lib/widgets/others/app_scaffold_widget.dart +++ b/lib/widgets/others/app_scaffold_widget.dart @@ -197,12 +197,15 @@ class NewAppBarWidget extends StatelessWidget with PreferredSizeWidget { return AppBar( elevation: 0, backgroundColor: showTitle ? Colors.white : Colors.transparent, - automaticallyImplyLeading: false, + // automaticallyImplyLeading: false, + leading: ArrowBack( + onTap: onTap, + ), + titleSpacing: -8, + // centerTitle: false, title: Row( children: [ - ArrowBack( - onTap: onTap, - ), + if (showTitle) Expanded( child: Text(