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