fixed Things before QA

aamir_dev
Faiz Hashmi 1 year ago
parent 77b8be6f20
commit 0a8b1c2281

@ -31,24 +31,24 @@ class HomeFragment extends StatelessWidget {
leadingWidth: 100, leadingWidth: 100,
onTap: () => navigateWithName(context, AppRoutes.settingOptionsLanguages), onTap: () => navigateWithName(context, AppRoutes.settingOptionsLanguages),
actions: [ actions: [
IconButton( // IconButton(
onPressed: () => context.read<DashboardVmCustomer>().onRefresh(context), // onPressed: () {},
icon: const b.Badge( // icon: const b.Badge(
badgeContent: Text( // badgeContent: Text(
'3', // '3',
style: TextStyle( // style: TextStyle(
fontSize: 10, // fontSize: 10,
color: Colors.white, // color: Colors.white,
), // ),
), // ),
badgeStyle: b.BadgeStyle( // badgeStyle: b.BadgeStyle(
badgeColor: MyColors.primaryColor, // badgeColor: MyColors.primaryColor,
padding: EdgeInsets.all(5), // padding: EdgeInsets.all(5),
), // ),
child: Icon(Icons.notifications_active), // child: Icon(Icons.notifications_active),
), // ),
), // ),
10.width, // 10.width,
], ],
), ),
body: SizedBox( body: SizedBox(

Loading…
Cancel
Save