|
|
|
|
@ -395,11 +395,15 @@ class NewAppBarWidget extends StatelessWidget implements PreferredSizeWidget {
|
|
|
|
|
backgroundColor: showTitle ? Colors.white : Colors.transparent,
|
|
|
|
|
// backgroundColor: Colors.red,
|
|
|
|
|
// automaticallyImplyLeading: false,
|
|
|
|
|
leading: isShowBackButton
|
|
|
|
|
leading: isShowBackButton && showSavedLoginBar
|
|
|
|
|
? ArrowBack(
|
|
|
|
|
onTap: onTap,
|
|
|
|
|
)
|
|
|
|
|
: null,
|
|
|
|
|
).withHorizontalPadding(24)
|
|
|
|
|
: isShowBackButton
|
|
|
|
|
? ArrowBack(
|
|
|
|
|
onTap: onTap,
|
|
|
|
|
)
|
|
|
|
|
: null,
|
|
|
|
|
// centerTitle: showCenterLogo,
|
|
|
|
|
titleSpacing: -8,
|
|
|
|
|
// centerTitle: showSavedLoginBar,
|
|
|
|
|
@ -408,11 +412,11 @@ class NewAppBarWidget extends StatelessWidget implements PreferredSizeWidget {
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
SvgPicture.asset(
|
|
|
|
|
'assets/images/svg/card_user.svg',
|
|
|
|
|
height: 32,
|
|
|
|
|
width: 32,
|
|
|
|
|
).withHorizontalPadding(24),
|
|
|
|
|
// SvgPicture.asset(
|
|
|
|
|
// 'assets/images/svg/card_user.svg',
|
|
|
|
|
// height: 32,
|
|
|
|
|
// width: 32,
|
|
|
|
|
// ).withHorizontalPadding(24),
|
|
|
|
|
if (showCenterLogo) Expanded(child: SvgPicture.asset('assets/images/svg/habiblogo.svg', height: 32, width: 32)),
|
|
|
|
|
if (showDropDown! && isShowLanguageChanger)
|
|
|
|
|
Directionality(
|
|
|
|
|
|