|
|
|
|
@ -68,56 +68,59 @@ class _DashboardState extends State<Dashboard> {
|
|
|
|
|
return Scaffold(
|
|
|
|
|
body: Column(
|
|
|
|
|
children: [
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Row(
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
children: [
|
|
|
|
|
CircularAvatar(
|
|
|
|
|
width: 34,
|
|
|
|
|
height: 34,
|
|
|
|
|
url:
|
|
|
|
|
"https://cdn4.iconfinder.com/data/icons/professions-2-2/151/89-512.png",
|
|
|
|
|
),
|
|
|
|
|
8.width,
|
|
|
|
|
SvgPicture.asset("assets/images/side_nav.svg"),
|
|
|
|
|
],
|
|
|
|
|
).onPress(() {}),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Row(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
Container(
|
|
|
|
|
color: Colors.red,
|
|
|
|
|
child: Row(
|
|
|
|
|
children: [
|
|
|
|
|
Row(
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
children: [
|
|
|
|
|
//AppLogo(),
|
|
|
|
|
CircularAvatar(
|
|
|
|
|
width: 34,
|
|
|
|
|
height: 34,
|
|
|
|
|
url:
|
|
|
|
|
"https://cdn4.iconfinder.com/data/icons/professions-2-2/151/89-512.png",
|
|
|
|
|
),
|
|
|
|
|
8.width,
|
|
|
|
|
LocaleKeys.mohemm.tr().toText14()
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 36,
|
|
|
|
|
height: 36,
|
|
|
|
|
child: Stack(
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
children: [
|
|
|
|
|
SvgPicture.asset("assets/images/announcements.svg"),
|
|
|
|
|
Positioned(
|
|
|
|
|
right: 0,
|
|
|
|
|
top: 0,
|
|
|
|
|
child: Container(
|
|
|
|
|
padding: const EdgeInsets.only(left: 5, right: 5),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
color: MyColors.redColor,
|
|
|
|
|
borderRadius: BorderRadius.circular(17)),
|
|
|
|
|
child: "3".toText12(color: Colors.white),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
SvgPicture.asset("assets/images/side_nav.svg"),
|
|
|
|
|
],
|
|
|
|
|
).onPress(() {}),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Row(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
children: [
|
|
|
|
|
//AppLogo(),
|
|
|
|
|
8.width,
|
|
|
|
|
LocaleKeys.mohemm.tr().toText14()
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
).paddingOnly(left: 21, right: 21, top: 48, bottom: 7),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 36,
|
|
|
|
|
height: 36,
|
|
|
|
|
child: Stack(
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
children: [
|
|
|
|
|
SvgPicture.asset("assets/images/announcements.svg"),
|
|
|
|
|
Positioned(
|
|
|
|
|
right: 0,
|
|
|
|
|
top: 0,
|
|
|
|
|
child: Container(
|
|
|
|
|
padding: const EdgeInsets.only(left: 5, right: 5),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
color: MyColors.redColor,
|
|
|
|
|
borderRadius: BorderRadius.circular(17)),
|
|
|
|
|
child: "3".toText12(color: Colors.white),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
).paddingOnly(left: 21, right: 21, top: 48, bottom: 7),
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: ListView(
|
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
|
|