changes all glassmorphism with glassUi
This commit is contained in:
BIN
assets/images/png/Connected world-amico 1.png
Normal file
BIN
assets/images/png/Connected world-amico 1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 131 KiB |
BIN
assets/images/png/Group 1000004385.png
Normal file
BIN
assets/images/png/Group 1000004385.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 78 KiB |
BIN
assets/images/png/Group 1000004420.png
Normal file
BIN
assets/images/png/Group 1000004420.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
BIN
assets/images/png/Organizing projects-pana 1.png
Normal file
BIN
assets/images/png/Organizing projects-pana 1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 118 KiB |
BIN
assets/images/png/correct 1.png
Normal file
BIN
assets/images/png/correct 1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
BIN
assets/images/png/x-circle.png
Normal file
BIN
assets/images/png/x-circle.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
@@ -103,11 +103,11 @@ class _AddEventState extends State<AddEvent> {
|
||||
borderType: BorderType.RRect,
|
||||
radius: Radius.circular(14.r),
|
||||
color: const Color(0xFF434A53),
|
||||
child: commonGlassContainer(
|
||||
border: 0,
|
||||
child: commonGlassUI(
|
||||
// border: 0,
|
||||
width: double.infinity,
|
||||
height: 130.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: bannerPath.isNotEmpty && isbannerAdded
|
||||
? Stack(children: [
|
||||
Image.file(
|
||||
@@ -160,10 +160,10 @@ class _AddEventState extends State<AddEvent> {
|
||||
),
|
||||
),
|
||||
sizedBoxHeight(20.h),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 60.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Center(
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 12.w),
|
||||
@@ -197,7 +197,7 @@ class _AddEventState extends State<AddEvent> {
|
||||
]),
|
||||
),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
sizedBoxHeight(20.h),
|
||||
text16400white("Type of event"),
|
||||
sizedBoxHeight(14.h),
|
||||
@@ -313,10 +313,10 @@ class _AddEventState extends State<AddEvent> {
|
||||
});
|
||||
}
|
||||
},
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: 174.w,
|
||||
height: 50.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
customWidget: Center(
|
||||
child: Row(children: [
|
||||
sizedBoxWidth(16.w),
|
||||
@@ -330,7 +330,7 @@ class _AddEventState extends State<AddEvent> {
|
||||
formatTimeOfDay(starttime!)),
|
||||
]),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
)
|
||||
],
|
||||
),
|
||||
@@ -351,10 +351,10 @@ class _AddEventState extends State<AddEvent> {
|
||||
});
|
||||
}
|
||||
},
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: 174.w,
|
||||
height: 50.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
customWidget: Center(
|
||||
child: Row(children: [
|
||||
sizedBoxWidth(16.w),
|
||||
@@ -368,7 +368,7 @@ class _AddEventState extends State<AddEvent> {
|
||||
formatTimeOfDay(endtime!)),
|
||||
]),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
)
|
||||
],
|
||||
),
|
||||
@@ -378,9 +378,9 @@ class _AddEventState extends State<AddEvent> {
|
||||
Row(
|
||||
children: [
|
||||
Obx(() {
|
||||
return commonGlassContainer(
|
||||
border: 1,
|
||||
borderradius: 2,
|
||||
return commonGlassUI(
|
||||
borderwidth: 1,
|
||||
borderRadius: BorderRadius.circular( 2),
|
||||
height: 23.h,
|
||||
width: 23.w,
|
||||
opacity1: 0.24,
|
||||
@@ -474,19 +474,19 @@ class _AddEventState extends State<AddEvent> {
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
height: 50.h,
|
||||
width: 127.w,
|
||||
borderradius: 30.r,
|
||||
border: 1,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
borderwidth: 1,
|
||||
customWidget: Center(
|
||||
child: text16400white("2"),
|
||||
)),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
height: 50.h,
|
||||
width: 215.w,
|
||||
borderradius: 30.r,
|
||||
border: 1,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
borderwidth: 1,
|
||||
customWidget: Center(
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
@@ -515,10 +515,10 @@ class _AddEventState extends State<AddEvent> {
|
||||
required String imagePath,
|
||||
required String title,
|
||||
}) {
|
||||
return commonGlassContainer(
|
||||
return commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 50.h,
|
||||
borderradius: 30,
|
||||
borderRadius: BorderRadius.circular(30),
|
||||
customWidget: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16),
|
||||
child: Center(
|
||||
@@ -540,6 +540,6 @@ class _AddEventState extends State<AddEvent> {
|
||||
),
|
||||
),
|
||||
),
|
||||
border: 1);
|
||||
borderwidth: 1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -138,10 +138,10 @@ class _AddUsersState extends State<AddUsers> {
|
||||
children: [
|
||||
text18w700_FCFCFC("Group members"),
|
||||
const Spacer(),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 35.w,
|
||||
height: 35.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/Vector (5)22.png",
|
||||
@@ -149,12 +149,12 @@ class _AddUsersState extends State<AddUsers> {
|
||||
width: 12.w,
|
||||
),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(14.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 35.w,
|
||||
height: 35.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/bi_filter.png",
|
||||
@@ -162,7 +162,7 @@ class _AddUsersState extends State<AddUsers> {
|
||||
width: 18.w,
|
||||
),
|
||||
),
|
||||
border: 0.5)
|
||||
borderwidth: 0.5)
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -237,9 +237,9 @@ class _AddUsersState extends State<AddUsers> {
|
||||
],
|
||||
),
|
||||
const Spacer(),
|
||||
commonGlassContainer(
|
||||
border: 1,
|
||||
borderradius: 2,
|
||||
commonGlassUI(
|
||||
borderwidth: 1,
|
||||
borderRadius: BorderRadius.circular( 2),
|
||||
height: 23.h,
|
||||
width: 23.w,
|
||||
opacity1: 0.24,
|
||||
@@ -280,32 +280,32 @@ class _AddUsersState extends State<AddUsers> {
|
||||
sizedBoxHeight(16.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("M")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("Tu")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("W")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
const Spacer(),
|
||||
Row(
|
||||
children: [
|
||||
@@ -325,32 +325,32 @@ class _AddUsersState extends State<AddUsers> {
|
||||
sizedBoxHeight(20.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("Th")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("F")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("Sa")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
const Spacer(),
|
||||
Row(
|
||||
children: [
|
||||
|
||||
@@ -121,14 +121,15 @@ class _AvailabilityState extends State<Availability> {
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 670.h,
|
||||
borderradius: 1,
|
||||
border: 0,
|
||||
borderRadius: BorderRadius.circular(1),
|
||||
// border: 0,
|
||||
customWidget: SfCalendar(
|
||||
view: CalendarView.timelineMonth,
|
||||
appointmentTextStyle: const TextStyle(color: Colors.white),
|
||||
appointmentTextStyle:
|
||||
const TextStyle(color: Colors.white),
|
||||
headerStyle: const CalendarHeaderStyle(
|
||||
textStyle: TextStyle(
|
||||
color: Colors.blue,
|
||||
|
||||
@@ -177,10 +177,7 @@ class _CalenderTabState extends State<CalenderTab> {
|
||||
// initialIndex: selectedIndex.value,
|
||||
child: Column(
|
||||
children: [
|
||||
const CommonTabBar(
|
||||
|
||||
|
||||
tabs: [
|
||||
const CommonTabBar(tabs: [
|
||||
Tab(
|
||||
text: 'My sessions',
|
||||
),
|
||||
@@ -190,7 +187,6 @@ class _CalenderTabState extends State<CalenderTab> {
|
||||
]),
|
||||
Expanded(
|
||||
child: TabBarView(
|
||||
|
||||
children: [
|
||||
mySessionsTab(),
|
||||
comSessionTab(),
|
||||
@@ -215,10 +211,11 @@ class _CalenderTabState extends State<CalenderTab> {
|
||||
sizedBoxHeight(20.h),
|
||||
Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w),
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 136.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular(10.r) ,
|
||||
borderwidth: 1,
|
||||
customWidget: Row(
|
||||
children: [
|
||||
Padding(
|
||||
@@ -245,15 +242,15 @@ class _CalenderTabState extends State<CalenderTab> {
|
||||
Image.asset("assets/images/png/Rectangle 45.png")
|
||||
],
|
||||
),
|
||||
border: 1),
|
||||
),
|
||||
),
|
||||
sizedBoxHeight(25.h),
|
||||
Stack(children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 500.h,
|
||||
borderradius: 1,
|
||||
border: 0,
|
||||
borderRadius: BorderRadius.circular(1),
|
||||
// borderw: 0,
|
||||
customWidget: SfCalendar(
|
||||
view: CalendarView.month,
|
||||
appointmentTextStyle: const TextStyle(color: Colors.white),
|
||||
@@ -456,10 +453,11 @@ class _CalenderTabState extends State<CalenderTab> {
|
||||
onTap: () {
|
||||
Get.toNamed(RouteName.eventDetails);
|
||||
},
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 300.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
borderwidth: 1.w,
|
||||
customWidget: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
@@ -529,15 +527,15 @@ class _CalenderTabState extends State<CalenderTab> {
|
||||
sizedBoxWidth(16.w),
|
||||
CircleAvatar(
|
||||
radius: 12.r,
|
||||
backgroundImage:
|
||||
const AssetImage("assets/images/png/Ellipse 52.png"),
|
||||
backgroundImage: const AssetImage(
|
||||
"assets/images/png/Ellipse 52.png"),
|
||||
),
|
||||
sizedBoxWidth(8.w),
|
||||
text14w400_FCFCFC("Ryan dorwat"),
|
||||
],
|
||||
)
|
||||
]),
|
||||
border: 1),
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
@@ -551,11 +549,11 @@ class _CalenderTabState extends State<CalenderTab> {
|
||||
sizedBoxHeight(25.h),
|
||||
|
||||
Stack(children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 530.h,
|
||||
borderradius: 1,
|
||||
border: 0,
|
||||
borderRadius: BorderRadius.circular(1),
|
||||
// border: 0,
|
||||
customWidget: SfCalendar(
|
||||
view: CalendarView.month,
|
||||
appointmentTextStyle: const TextStyle(color: Colors.white),
|
||||
@@ -730,10 +728,11 @@ class _CalenderTabState extends State<CalenderTab> {
|
||||
children: [
|
||||
text18w700_FCFCFC(title),
|
||||
sizedBoxHeight(25.h),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 290.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
borderwidth: 1,
|
||||
customWidget: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
@@ -810,7 +809,7 @@ class _CalenderTabState extends State<CalenderTab> {
|
||||
),
|
||||
],
|
||||
),
|
||||
border: 1)
|
||||
)
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
@@ -36,41 +36,44 @@ class _EventDetailsState extends State<EventDetails> {
|
||||
onTap: () {
|
||||
Get.toNamed(RouteName.addEvent);
|
||||
},
|
||||
child: commonGlassContainer(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(
|
||||
child: Image.asset("assets/images/png/Vector536.png",
|
||||
height: 17.h, width: 17.w),
|
||||
),
|
||||
border: 0.5),
|
||||
),
|
||||
sizedBoxWidth(12.w),
|
||||
commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
borderwidth: 0.5,
|
||||
customWidget: Center(
|
||||
child: Image.asset("assets/images/png/Vector522.png",
|
||||
child: Image.asset("assets/images/png/Vector536.png",
|
||||
height: 17.h, width: 17.w),
|
||||
),
|
||||
border: 0.5),
|
||||
),
|
||||
),
|
||||
sizedBoxWidth(12.w),
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
borderwidth: 0.5,
|
||||
customWidget: Center(
|
||||
child: Image.asset("assets/images/png/Vector522.png",
|
||||
height: 17.h, width: 17.w),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
body: Stack(children: [
|
||||
Container(
|
||||
Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage("assets/images/png/Ellipse 1496.png"),
|
||||
fit: BoxFit.fill)),
|
||||
), SingleChildScrollView(
|
||||
child: Column(
|
||||
),
|
||||
SingleChildScrollView(
|
||||
child: Column(
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16),
|
||||
@@ -97,20 +100,21 @@ class _EventDetailsState extends State<EventDetails> {
|
||||
sizedBoxHeight(22.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
width: 35.w,
|
||||
height: 35.h,
|
||||
borderradius: 100,
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/calender.png",
|
||||
height: 17.h,
|
||||
width: 17.w,
|
||||
),
|
||||
commonGlassUI(
|
||||
width: 35.w,
|
||||
height: 35.h,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
borderwidth: 0.5,
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/calender.png",
|
||||
height: 17.h,
|
||||
width: 17.w,
|
||||
),
|
||||
border: 0.5),
|
||||
),
|
||||
),
|
||||
sizedBoxWidth(10.w),
|
||||
text16400white("20th April 2024 - 21st April 2024"),
|
||||
],
|
||||
@@ -118,10 +122,10 @@ class _EventDetailsState extends State<EventDetails> {
|
||||
sizedBoxHeight(16.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 35.w,
|
||||
height: 35.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(
|
||||
@@ -131,7 +135,7 @@ class _EventDetailsState extends State<EventDetails> {
|
||||
width: 17.w,
|
||||
),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(10.w),
|
||||
text16400white("3 hours"),
|
||||
],
|
||||
@@ -139,10 +143,10 @@ class _EventDetailsState extends State<EventDetails> {
|
||||
sizedBoxHeight(16.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 35.w,
|
||||
height: 35.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(
|
||||
@@ -152,7 +156,7 @@ class _EventDetailsState extends State<EventDetails> {
|
||||
width: 17.w,
|
||||
),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(10.w),
|
||||
text16400white("Elm street london, United Kingdom"),
|
||||
],
|
||||
@@ -171,26 +175,26 @@ class _EventDetailsState extends State<EventDetails> {
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 87.w,
|
||||
height: 40.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular(30.r),
|
||||
customWidget:
|
||||
Center(child: text16w400_white("Yes")),
|
||||
border: 1),
|
||||
commonGlassContainer(
|
||||
borderwidth: 1),
|
||||
commonGlassUI(
|
||||
width: 87.w,
|
||||
height: 40.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular(30.r),
|
||||
customWidget: Center(child: text16w400_white("No")),
|
||||
border: 1),
|
||||
commonGlassContainer(
|
||||
borderwidth: 1),
|
||||
commonGlassUI(
|
||||
width: 154.w,
|
||||
height: 40.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular(30.r),
|
||||
customWidget: Center(
|
||||
child: text16w400_white("Not yet decided")),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
],
|
||||
),
|
||||
sizedBoxHeight(20.h),
|
||||
@@ -206,13 +210,13 @@ class _EventDetailsState extends State<EventDetails> {
|
||||
sizedBoxHeight(16.h),
|
||||
text18w700white("Are you attending this event ?"),
|
||||
sizedBoxHeight(20.h),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 221.w,
|
||||
height: 40.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular(30.r),
|
||||
customWidget:
|
||||
Center(child: text16w400_white("Request to join")),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
sizedBoxHeight(20.h),
|
||||
commonDivider(),
|
||||
],
|
||||
@@ -240,10 +244,10 @@ class _EventDetailsState extends State<EventDetails> {
|
||||
sizedBoxHeight(20.h),
|
||||
Visibility(
|
||||
visible: adminView,
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 251.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular(10.r),
|
||||
customWidget: Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 20),
|
||||
child: Column(
|
||||
@@ -265,15 +269,15 @@ class _EventDetailsState extends State<EventDetails> {
|
||||
],
|
||||
),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
),
|
||||
sizedBoxHeight(30.h),
|
||||
Visibility(
|
||||
visible: memberView,
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 65.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular(10.r),
|
||||
customWidget: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
@@ -293,7 +297,7 @@ class _EventDetailsState extends State<EventDetails> {
|
||||
text18w400white("90 Attending")
|
||||
],
|
||||
),
|
||||
border: 1)),
|
||||
borderwidth: 1)),
|
||||
text18w700white("Messages"),
|
||||
sizedBoxHeight(20.h),
|
||||
Row(
|
||||
@@ -306,20 +310,20 @@ class _EventDetailsState extends State<EventDetails> {
|
||||
sizedBoxWidth(10.w),
|
||||
text16w400_white("Send message to invites"),
|
||||
const Spacer(),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 98.w,
|
||||
height: 30.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
customWidget:
|
||||
Center(child: text14400white("Select")),
|
||||
border: 1)
|
||||
borderwidth: 1)
|
||||
],
|
||||
),
|
||||
sizedBoxHeight(25.h),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 240.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 80.w),
|
||||
child: Column(
|
||||
@@ -353,7 +357,7 @@ class _EventDetailsState extends State<EventDetails> {
|
||||
)
|
||||
]),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
sizedBoxHeight(50.h),
|
||||
CommonBtn(text: "Join the event"),
|
||||
sizedBoxHeight(40.h),
|
||||
|
||||
@@ -189,12 +189,12 @@ class _ManageMembersCalState extends State<ManageMembersCal> {
|
||||
child: Center(child: text10400white("Attending")),
|
||||
),
|
||||
sizedBoxWidth(8.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 25.w,
|
||||
height: 25.h,
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
borderradius: 100.r,
|
||||
borderRadius: BorderRadius.circular(100.r),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/alarm 1 (traced).png",
|
||||
@@ -202,14 +202,14 @@ class _ManageMembersCalState extends State<ManageMembersCal> {
|
||||
width: 13.w,
|
||||
),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(8.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 25.w,
|
||||
height: 25.h,
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
borderradius: 100.r,
|
||||
borderRadius: BorderRadius.circular( 100.r),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/fluent_delete-28-regular.png",
|
||||
@@ -217,7 +217,7 @@ class _ManageMembersCalState extends State<ManageMembersCal> {
|
||||
width: 13.w,
|
||||
),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(12.w)
|
||||
],
|
||||
),
|
||||
@@ -244,32 +244,32 @@ class _ManageMembersCalState extends State<ManageMembersCal> {
|
||||
sizedBoxHeight(16.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("M")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("Tu")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("W")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
const Spacer(),
|
||||
Row(
|
||||
children: [
|
||||
@@ -289,32 +289,32 @@ class _ManageMembersCalState extends State<ManageMembersCal> {
|
||||
sizedBoxHeight(20.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("Th")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("F")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("Sa")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
const Spacer(),
|
||||
Row(
|
||||
children: [
|
||||
@@ -374,4 +374,6 @@ class _ManageMembersCalState extends State<ManageMembersCal> {
|
||||
),
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -89,10 +89,10 @@ class _ResourcePoolState extends State<ResourcePool> {
|
||||
}
|
||||
|
||||
Widget resourceCard() {
|
||||
return commonGlassContainer(
|
||||
return commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 216.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 16),
|
||||
child:
|
||||
@@ -177,7 +177,7 @@ class _ResourcePoolState extends State<ResourcePool> {
|
||||
),
|
||||
]),
|
||||
),
|
||||
border: 1);
|
||||
borderwidth: 1);
|
||||
}
|
||||
|
||||
void inviteBottomSheet() {
|
||||
@@ -258,9 +258,9 @@ class _ResourcePoolState extends State<ResourcePool> {
|
||||
sizedBoxWidth(10.w),
|
||||
text16w400_FCFCFC(title),
|
||||
const Spacer(),
|
||||
commonGlassContainer(
|
||||
border: 1,
|
||||
borderradius: 2,
|
||||
commonGlassUI(
|
||||
borderwidth: 1,
|
||||
borderRadius: BorderRadius.circular( 2),
|
||||
height: 23.h,
|
||||
width: 23.w,
|
||||
opacity1: 0.24,
|
||||
|
||||
@@ -138,10 +138,10 @@ class _SetAvailabillityState extends State<SetAvailabillity> {
|
||||
children: [
|
||||
text16400white("Start time"),
|
||||
sizedBoxHeight(14.h),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 174.w,
|
||||
height: 50.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular(30.r),
|
||||
customWidget: Center(
|
||||
child: Row(children: [
|
||||
sizedBoxWidth(16.w),
|
||||
@@ -154,7 +154,7 @@ class _SetAvailabillityState extends State<SetAvailabillity> {
|
||||
text16w400_white("3:00 pm")
|
||||
]),
|
||||
),
|
||||
border: 1)
|
||||
borderwidth: 1)
|
||||
],
|
||||
),
|
||||
const Spacer(),
|
||||
@@ -163,10 +163,10 @@ class _SetAvailabillityState extends State<SetAvailabillity> {
|
||||
children: [
|
||||
text16400white("End time"),
|
||||
sizedBoxHeight(14.h),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 174.w,
|
||||
height: 50.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
customWidget: Center(
|
||||
child: Row(children: [
|
||||
sizedBoxWidth(16.w),
|
||||
@@ -179,7 +179,7 @@ class _SetAvailabillityState extends State<SetAvailabillity> {
|
||||
text16w400_white("5:00 pm")
|
||||
]),
|
||||
),
|
||||
border: 1)
|
||||
borderwidth: 1)
|
||||
],
|
||||
),
|
||||
],
|
||||
|
||||
@@ -264,13 +264,13 @@ class _GroupChatPageState extends State<GroupChatPage> {
|
||||
child: Row(
|
||||
children: [
|
||||
sizedBoxWidth(10.w),
|
||||
commonGlassContainer(
|
||||
border: 0.9,
|
||||
commonGlassUI(
|
||||
borderwidth: 0.9,
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
'assets/images/png/appbararrowbutton.png')
|
||||
|
||||
@@ -266,13 +266,13 @@ class _UserChatPageState extends State<UserChatPage> {
|
||||
child: Row(
|
||||
children: [
|
||||
sizedBoxWidth(10.w),
|
||||
commonGlassContainer(
|
||||
border: 0.9,
|
||||
commonGlassUI(
|
||||
borderwidth: 0.9,
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
'assets/images/png/appbararrowbutton.png')
|
||||
|
||||
@@ -86,7 +86,10 @@ class _CommunityScreenState extends State<CommunityScreen> {
|
||||
sizedBoxWidth(16.w),
|
||||
],
|
||||
),
|
||||
body: Stack(clipBehavior: Clip.none, children: [
|
||||
body:
|
||||
|
||||
|
||||
Stack(clipBehavior: Clip.none, children: [
|
||||
Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
@@ -636,11 +639,11 @@ Widget normalcardtile({
|
||||
}
|
||||
}
|
||||
|
||||
return commonGlassContainer(
|
||||
return commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 570.h,
|
||||
border: 0,
|
||||
borderradius: 1,
|
||||
borderwidth: 0,
|
||||
borderRadius: BorderRadius.circular( 1),
|
||||
customWidget: Column(
|
||||
children: [
|
||||
sizedBoxHeight(25.h),
|
||||
@@ -827,13 +830,13 @@ Widget normalcardtile({
|
||||
]),
|
||||
),
|
||||
const Spacer(),
|
||||
commonGlassContainer(
|
||||
border: 0.43,
|
||||
commonGlassUI(
|
||||
borderwidth: 0.43,
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
opacity1: 0.05,
|
||||
opacity2: 0.06,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
'assets/images/png/Frame 1000004088.png',
|
||||
@@ -845,11 +848,11 @@ Widget normalcardtile({
|
||||
sizedBoxWidth(12.w),
|
||||
text14w400_FCFCFC('20'),
|
||||
sizedBoxWidth(20.w),
|
||||
commonGlassContainer(
|
||||
border: 0.43,
|
||||
commonGlassUI(
|
||||
borderwidth: 0.43,
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.05,
|
||||
opacity2: 0.06,
|
||||
customWidget: Center(
|
||||
@@ -1349,11 +1352,11 @@ Widget _buildReactionsIcon(String assetPath) {
|
||||
}
|
||||
|
||||
Widget containertile({required String text}) {
|
||||
return commonGlassContainer(
|
||||
border: 1,
|
||||
return commonGlassUI(
|
||||
borderwidth: 1,
|
||||
width: 130.w,
|
||||
height: 30.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
borderColor: const Color(0xFFD90B2E),
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
||||
|
||||
@@ -137,11 +137,11 @@ Widget normalcardtile({
|
||||
}
|
||||
}
|
||||
|
||||
return commonGlassContainer(
|
||||
return commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 570.h,
|
||||
border: 0,
|
||||
borderradius: 1,
|
||||
borderwidth: 0,
|
||||
borderRadius: BorderRadius.circular( 1),
|
||||
customWidget: Column(
|
||||
children: [
|
||||
sizedBoxHeight(25.h),
|
||||
@@ -327,13 +327,13 @@ Widget normalcardtile({
|
||||
]),
|
||||
),
|
||||
const Spacer(),
|
||||
commonGlassContainer(
|
||||
border: 0.43,
|
||||
commonGlassUI(
|
||||
borderwidth: 0.43,
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
opacity1: 0.05,
|
||||
opacity2: 0.06,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
'assets/images/png/Frame 1000004088.png',
|
||||
@@ -345,11 +345,11 @@ Widget normalcardtile({
|
||||
sizedBoxWidth(12.w),
|
||||
text14w400_FCFCFC('20'),
|
||||
sizedBoxWidth(20.w),
|
||||
commonGlassContainer(
|
||||
border: 0.43,
|
||||
commonGlassUI(
|
||||
borderwidth: 0.43,
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.05,
|
||||
opacity2: 0.06,
|
||||
customWidget: Center(
|
||||
|
||||
@@ -125,11 +125,11 @@ class _PostDetailsScreenState extends State<PostDetailsScreen> {
|
||||
}
|
||||
}
|
||||
|
||||
return commonGlassContainer(
|
||||
return commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 570.h,
|
||||
border: 0,
|
||||
borderradius: 0,
|
||||
borderwidth: 0,
|
||||
borderRadius: BorderRadius.circular(0),
|
||||
customWidget: Column(
|
||||
children: [
|
||||
sizedBoxHeight(25.h),
|
||||
@@ -151,14 +151,14 @@ class _PostDetailsScreenState extends State<PostDetailsScreen> {
|
||||
children: [
|
||||
text16w400_FCFCFC(title),
|
||||
const Spacer(),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 72.w,
|
||||
height: 26.h,
|
||||
borderradius: 5.r,
|
||||
borderRadius: BorderRadius.circular(5.r),
|
||||
borderColor: const Color(0xFFD90B2E),
|
||||
customWidget:
|
||||
Center(child: text14400white("Follow")),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
sizedBoxWidth(6.w),
|
||||
PopupMenuButton(
|
||||
surfaceTintColor: const Color(0xFF222935),
|
||||
@@ -329,11 +329,11 @@ class _PostDetailsScreenState extends State<PostDetailsScreen> {
|
||||
'assets/images/png/party-popper 2.png'
|
||||
]),
|
||||
const Spacer(),
|
||||
commonGlassContainer(
|
||||
border: 0.9,
|
||||
commonGlassUI(
|
||||
borderwidth: 0.9,
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
'assets/images/png/Frame 1000004088.png',
|
||||
@@ -345,11 +345,11 @@ class _PostDetailsScreenState extends State<PostDetailsScreen> {
|
||||
sizedBoxWidth(12.w),
|
||||
text14w400_FCFCFC('20'),
|
||||
sizedBoxWidth(20.w),
|
||||
commonGlassContainer(
|
||||
border: 0.9,
|
||||
commonGlassUI(
|
||||
borderwidth: 0.9,
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
'assets/images/png/Vector (1).png',
|
||||
@@ -452,11 +452,11 @@ class _PostDetailsScreenState extends State<PostDetailsScreen> {
|
||||
}
|
||||
|
||||
Widget containertile({required String text}) {
|
||||
return commonGlassContainer(
|
||||
border: 0.9,
|
||||
return commonGlassUI(
|
||||
borderwidth: 0.9,
|
||||
width: 100.w,
|
||||
height: 30.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
borderColor: const Color(0xFFD90B2E),
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
||||
|
||||
@@ -93,13 +93,13 @@ class _ReactionViewState extends State<ReactionView> {
|
||||
),
|
||||
Tab(
|
||||
child: Row(children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
borderColor: const Color(0xFF1E3A46),
|
||||
opacity1: 0.05,
|
||||
opacity2: 0.06,
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/f7_hand-thumbsup.png",
|
||||
@@ -107,20 +107,20 @@ class _ReactionViewState extends State<ReactionView> {
|
||||
width: 17.w,
|
||||
),
|
||||
),
|
||||
border: 1.71),
|
||||
borderwidth: 1.71),
|
||||
const Spacer(),
|
||||
text14400white("110K"),
|
||||
]),
|
||||
),
|
||||
Tab(
|
||||
child: Row(children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
borderColor: const Color(0xFF1E3A46),
|
||||
opacity1: 0.05,
|
||||
opacity2: 0.06,
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/heart 2.png",
|
||||
@@ -128,20 +128,20 @@ class _ReactionViewState extends State<ReactionView> {
|
||||
width: 17.w,
|
||||
),
|
||||
),
|
||||
border: 1.71),
|
||||
borderwidth: 1.71),
|
||||
const Spacer(),
|
||||
text14400white("9.7K"),
|
||||
]),
|
||||
),
|
||||
Tab(
|
||||
child: Row(children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
borderColor: const Color(0xFF1E3A46),
|
||||
opacity1: 0.05,
|
||||
opacity2: 0.06,
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/party-popper 2.png",
|
||||
@@ -149,7 +149,7 @@ class _ReactionViewState extends State<ReactionView> {
|
||||
width: 17.w,
|
||||
),
|
||||
),
|
||||
border: 1.71),
|
||||
borderwidth: 1.71),
|
||||
const Spacer(),
|
||||
text14400white("7.4K"),
|
||||
]),
|
||||
|
||||
@@ -41,16 +41,16 @@ class _DetailExploreState extends State<DetailExplore> {
|
||||
onTap: () {
|
||||
Get.back();
|
||||
},
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: const Center(
|
||||
child: Icon(
|
||||
Icons.arrow_back,
|
||||
color: Colors.white,
|
||||
)),
|
||||
border: 1,
|
||||
borderwidth: 1,
|
||||
borderColor: const Color(0xFF55434F)),
|
||||
),
|
||||
sizedBoxWidth(12.w),
|
||||
|
||||
@@ -191,10 +191,10 @@ class _ExploreScreenState extends State<ExploreScreen> {
|
||||
sizedBoxHeight(25.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/community 1 (traced).png",
|
||||
@@ -202,21 +202,21 @@ class _ExploreScreenState extends State<ExploreScreen> {
|
||||
width: 18.w,
|
||||
),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(10.w),
|
||||
text16400white("10 subgroups "),
|
||||
const Spacer(),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/ph_users-light.png",
|
||||
height: 18.h,
|
||||
width: 18.w,
|
||||
)),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(10.w),
|
||||
text16400white("7 members"),
|
||||
],
|
||||
@@ -224,14 +224,14 @@ class _ExploreScreenState extends State<ExploreScreen> {
|
||||
sizedBoxHeight(30.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 170.w,
|
||||
height: 35.h,
|
||||
opacity1: 0.05,
|
||||
opacity2: 0.07,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
customWidget: Center(child: text14w400_FCFCFC("Message")),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
const Spacer(),
|
||||
Container(
|
||||
width: 170.w,
|
||||
|
||||
@@ -125,10 +125,10 @@ class _SearchGroupState extends State<SearchGroup> {
|
||||
Widget rowTile({required String imagePath, required String title}) {
|
||||
return Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
imagePath,
|
||||
@@ -136,7 +136,7 @@ class _SearchGroupState extends State<SearchGroup> {
|
||||
width: 16.w,
|
||||
),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(12.w),
|
||||
text16400white(title),
|
||||
const Spacer(),
|
||||
|
||||
@@ -78,11 +78,11 @@ class _ConnectCommunityState extends State<ConnectCommunity> {
|
||||
padding: EdgeInsets.only(bottom: 25.h),
|
||||
child: GestureDetector(
|
||||
onTap: ontap,
|
||||
child: commonGlassContainer(
|
||||
border: 0.9,
|
||||
child: commonGlassUI(
|
||||
borderwidth: 0.9,
|
||||
width: double.infinity,
|
||||
height: 162.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w, vertical: 16.h),
|
||||
child: Column(
|
||||
|
||||
@@ -111,12 +111,12 @@ class _GroupDetailState extends State<GroupDetail> {
|
||||
),
|
||||
),
|
||||
],
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/Vector536.png",
|
||||
@@ -124,7 +124,7 @@ class _GroupDetailState extends State<GroupDetail> {
|
||||
width: 17.w,
|
||||
),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
),
|
||||
sizedBoxWidth(16.w),
|
||||
PopupMenuButton(
|
||||
@@ -370,10 +370,10 @@ class _GroupDetailState extends State<GroupDetail> {
|
||||
],
|
||||
),
|
||||
sizedBoxHeight(25.h),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 135.h,
|
||||
borderradius: 10,
|
||||
borderRadius: BorderRadius.circular( 10),
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.symmetric(
|
||||
vertical: 12.h, horizontal: 16.w),
|
||||
@@ -420,12 +420,12 @@ class _GroupDetailState extends State<GroupDetail> {
|
||||
],
|
||||
),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
sizedBoxHeight(20.h),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 51.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.only(right: 16.w),
|
||||
child: Center(
|
||||
@@ -447,7 +447,7 @@ class _GroupDetailState extends State<GroupDetail> {
|
||||
]),
|
||||
),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
sizedBoxHeight(20.h),
|
||||
Row(
|
||||
children: [
|
||||
@@ -484,10 +484,10 @@ class _GroupDetailState extends State<GroupDetail> {
|
||||
),
|
||||
),
|
||||
sizedBoxHeight(25.h),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 51.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 12.w),
|
||||
child: Row(children: [
|
||||
@@ -523,7 +523,7 @@ class _GroupDetailState extends State<GroupDetail> {
|
||||
)
|
||||
]),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
sizedBoxHeight(25.h),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -109,11 +109,11 @@ class _GroupEventState extends State<GroupEvent> {
|
||||
borderType: BorderType.RRect,
|
||||
radius: Radius.circular(14.r),
|
||||
color: const Color(0xFF434A53),
|
||||
child: commonGlassContainer(
|
||||
border: 0,
|
||||
child: commonGlassUI(
|
||||
borderwidth: 0,
|
||||
width: double.infinity,
|
||||
height: 130.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: bannerPath.isNotEmpty && isbannerAdded
|
||||
? Stack(children: [
|
||||
Image.file(
|
||||
@@ -166,10 +166,10 @@ class _GroupEventState extends State<GroupEvent> {
|
||||
),
|
||||
),
|
||||
sizedBoxHeight(20.h),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 60.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Center(
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 12.w),
|
||||
@@ -203,7 +203,7 @@ class _GroupEventState extends State<GroupEvent> {
|
||||
]),
|
||||
),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
sizedBoxHeight(20.h),
|
||||
text16400white("Type of event"),
|
||||
sizedBoxHeight(14.h),
|
||||
@@ -319,10 +319,10 @@ class _GroupEventState extends State<GroupEvent> {
|
||||
});
|
||||
}
|
||||
},
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: 174.w,
|
||||
height: 50.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
customWidget: Center(
|
||||
child: Row(children: [
|
||||
sizedBoxWidth(16.w),
|
||||
@@ -336,7 +336,7 @@ class _GroupEventState extends State<GroupEvent> {
|
||||
formatTimeOfDay(starttime!)),
|
||||
]),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
)
|
||||
],
|
||||
),
|
||||
@@ -357,10 +357,10 @@ class _GroupEventState extends State<GroupEvent> {
|
||||
});
|
||||
}
|
||||
},
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: 174.w,
|
||||
height: 50.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
customWidget: Center(
|
||||
child: Row(children: [
|
||||
sizedBoxWidth(16.w),
|
||||
@@ -374,7 +374,7 @@ class _GroupEventState extends State<GroupEvent> {
|
||||
formatTimeOfDay(endtime!)),
|
||||
]),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
)
|
||||
],
|
||||
),
|
||||
@@ -384,9 +384,9 @@ class _GroupEventState extends State<GroupEvent> {
|
||||
Row(
|
||||
children: [
|
||||
Obx(() {
|
||||
return commonGlassContainer(
|
||||
border: 1,
|
||||
borderradius: 2,
|
||||
return commonGlassUI(
|
||||
borderwidth: 1,
|
||||
borderRadius: BorderRadius.circular( 2),
|
||||
height: 23.h,
|
||||
width: 23.w,
|
||||
opacity1: 0.24,
|
||||
@@ -487,19 +487,19 @@ class _GroupEventState extends State<GroupEvent> {
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
height: 50.h,
|
||||
width: 127.w,
|
||||
borderradius: 30.r,
|
||||
border: 1,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
borderwidth: 1,
|
||||
customWidget: Center(
|
||||
child: text16400white("2"),
|
||||
)),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
height: 50.h,
|
||||
width: 215.w,
|
||||
borderradius: 30.r,
|
||||
border: 1,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
borderwidth: 1,
|
||||
customWidget: Center(
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
@@ -528,10 +528,10 @@ class _GroupEventState extends State<GroupEvent> {
|
||||
required String imagePath,
|
||||
required String title,
|
||||
}) {
|
||||
return commonGlassContainer(
|
||||
return commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 50.h,
|
||||
borderradius: 30,
|
||||
borderRadius: BorderRadius.circular( 30),
|
||||
customWidget: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16),
|
||||
child: Center(
|
||||
@@ -553,6 +553,6 @@ class _GroupEventState extends State<GroupEvent> {
|
||||
),
|
||||
),
|
||||
),
|
||||
border: 1);
|
||||
borderwidth: 1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,12 +94,12 @@ class _GroupInfoState extends State<GroupInfo> {
|
||||
sizedBoxHeight(30.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 35.w,
|
||||
height: 35.h,
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/Group 58645.png",
|
||||
@@ -107,7 +107,7 @@ class _GroupInfoState extends State<GroupInfo> {
|
||||
width: 13.w,
|
||||
),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(12.w),
|
||||
text16400white("Elm street london, United Kingdom")
|
||||
],
|
||||
@@ -115,12 +115,12 @@ class _GroupInfoState extends State<GroupInfo> {
|
||||
sizedBoxHeight(30.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 35.w,
|
||||
height: 35.h,
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/Vector2a.png",
|
||||
@@ -128,7 +128,7 @@ class _GroupInfoState extends State<GroupInfo> {
|
||||
width: 20.w,
|
||||
),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(12.w),
|
||||
text16400white("www.exampledummywebsite.com")
|
||||
],
|
||||
|
||||
@@ -142,10 +142,10 @@ class _GroupManageState extends State<GroupManage> {
|
||||
hintText: "Start date - End date",
|
||||
)),
|
||||
const Spacer(),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(
|
||||
@@ -155,7 +155,7 @@ class _GroupManageState extends State<GroupManage> {
|
||||
width: 23.w,
|
||||
),
|
||||
),
|
||||
border: 0.5)
|
||||
borderwidth: 0.5)
|
||||
],
|
||||
),
|
||||
],
|
||||
@@ -235,32 +235,32 @@ class _GroupManageState extends State<GroupManage> {
|
||||
sizedBoxHeight(16.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("M")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("Tu")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("W")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
const Spacer(),
|
||||
Row(
|
||||
children: [
|
||||
@@ -280,32 +280,32 @@ class _GroupManageState extends State<GroupManage> {
|
||||
sizedBoxHeight(20.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("Th")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("F")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("Sa")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
const Spacer(),
|
||||
Row(
|
||||
children: [
|
||||
@@ -414,10 +414,10 @@ class _GroupManageState extends State<GroupManage> {
|
||||
hintText: "Start date - End date",
|
||||
)),
|
||||
const Spacer(),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(
|
||||
@@ -427,7 +427,7 @@ class _GroupManageState extends State<GroupManage> {
|
||||
width: 23.w,
|
||||
),
|
||||
),
|
||||
border: 0.5)
|
||||
borderwidth: 0.5)
|
||||
],
|
||||
),
|
||||
],
|
||||
@@ -538,10 +538,10 @@ class _GroupManageState extends State<GroupManage> {
|
||||
hintText: "Start date - End date",
|
||||
)),
|
||||
const Spacer(),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(
|
||||
@@ -551,7 +551,7 @@ class _GroupManageState extends State<GroupManage> {
|
||||
width: 23.w,
|
||||
),
|
||||
),
|
||||
border: 0.5)
|
||||
borderwidth: 0.5)
|
||||
],
|
||||
),
|
||||
],
|
||||
|
||||
@@ -232,8 +232,8 @@ class _GroupTabState extends State<GroupTab> {
|
||||
EdgeInsets.symmetric(horizontal: 8.w),
|
||||
child: Row(
|
||||
children: [
|
||||
text14w400_FCFCFC("Mute group"),
|
||||
const Spacer(),
|
||||
text14w400_FCFCFC("Mute community"),
|
||||
Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/Black (1).png",
|
||||
height: 18.h,
|
||||
@@ -243,7 +243,7 @@ class _GroupTabState extends State<GroupTab> {
|
||||
),
|
||||
),
|
||||
),
|
||||
const PopupMenuDivider(),
|
||||
PopupMenuDivider(),
|
||||
PopupMenuItem(
|
||||
onTap: () {},
|
||||
child: Padding(
|
||||
@@ -251,29 +251,10 @@ class _GroupTabState extends State<GroupTab> {
|
||||
EdgeInsets.symmetric(horizontal: 8.w),
|
||||
child: Row(
|
||||
children: [
|
||||
text14w400_FCFCFC("Pin group"),
|
||||
const Spacer(),
|
||||
text14w400_FCFCFC("Hide post"),
|
||||
Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/f7_pin-fill (2).png",
|
||||
height: 27.h,
|
||||
width: 27.w,
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
const PopupMenuDivider(),
|
||||
PopupMenuItem(
|
||||
onTap: () {},
|
||||
child: Padding(
|
||||
padding:
|
||||
EdgeInsets.symmetric(horizontal: 8.w),
|
||||
child: Row(
|
||||
children: [
|
||||
text14w400_FCFCFC("Make primary"),
|
||||
const Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/leave group.png",
|
||||
"assets/images/png/mingcute_eye-close-line.png",
|
||||
height: 20.h,
|
||||
width: 20.w,
|
||||
)
|
||||
@@ -281,7 +262,7 @@ class _GroupTabState extends State<GroupTab> {
|
||||
),
|
||||
),
|
||||
),
|
||||
const PopupMenuDivider(),
|
||||
PopupMenuDivider(),
|
||||
PopupMenuItem(
|
||||
onTap: () {},
|
||||
child: Padding(
|
||||
@@ -289,11 +270,29 @@ class _GroupTabState extends State<GroupTab> {
|
||||
EdgeInsets.symmetric(horizontal: 8.w),
|
||||
child: Row(
|
||||
children: [
|
||||
// text14w400_FCFCFC("Leave group"),
|
||||
text14w400_D90B2E("Leave group"),
|
||||
const Spacer(),
|
||||
text14w400_FCFCFC("Pin"),
|
||||
Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/LightGray22.png",
|
||||
"assets/images/png/f7_pin-fill (2).png",
|
||||
height: 25.h,
|
||||
width: 25.w,
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
PopupMenuDivider(),
|
||||
PopupMenuItem(
|
||||
onTap: () {},
|
||||
child: Padding(
|
||||
padding:
|
||||
EdgeInsets.symmetric(horizontal: 8.w),
|
||||
child: Row(
|
||||
children: [
|
||||
text14w400_FCFCFC("Leave community"),
|
||||
Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/logout 1 (traced).png",
|
||||
height: 18.h,
|
||||
width: 18.w,
|
||||
)
|
||||
|
||||
@@ -84,11 +84,11 @@ class _NewPostState extends State<NewPost> {
|
||||
borderType: BorderType.RRect,
|
||||
radius: Radius.circular(14.r),
|
||||
color: const Color(0xFF434A53),
|
||||
child: commonGlassContainer(
|
||||
border: 0,
|
||||
child: commonGlassUI(
|
||||
borderwidth: 0,
|
||||
width: double.infinity,
|
||||
height: 130.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: bannerPath.isNotEmpty && isbannerAdded
|
||||
? Stack(children: [
|
||||
Image.file(
|
||||
|
||||
@@ -144,8 +144,8 @@ class _RequestedGroupsState extends State<RequestedGroups> {
|
||||
EdgeInsets.symmetric(horizontal: 8.w),
|
||||
child: Row(
|
||||
children: [
|
||||
text14w400_FCFCFC("Mute group"),
|
||||
const Spacer(),
|
||||
text14w400_FCFCFC("Mute community"),
|
||||
Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/Black (1).png",
|
||||
height: 18.h,
|
||||
@@ -155,7 +155,7 @@ class _RequestedGroupsState extends State<RequestedGroups> {
|
||||
),
|
||||
),
|
||||
),
|
||||
const PopupMenuDivider(),
|
||||
PopupMenuDivider(),
|
||||
PopupMenuItem(
|
||||
onTap: () {},
|
||||
child: Padding(
|
||||
@@ -163,29 +163,10 @@ class _RequestedGroupsState extends State<RequestedGroups> {
|
||||
EdgeInsets.symmetric(horizontal: 8.w),
|
||||
child: Row(
|
||||
children: [
|
||||
text14w400_FCFCFC("Pin group"),
|
||||
const Spacer(),
|
||||
text14w400_FCFCFC("Hide post"),
|
||||
Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/f7_pin-fill (2).png",
|
||||
height: 27.h,
|
||||
width: 27.w,
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
const PopupMenuDivider(),
|
||||
PopupMenuItem(
|
||||
onTap: () {},
|
||||
child: Padding(
|
||||
padding:
|
||||
EdgeInsets.symmetric(horizontal: 8.w),
|
||||
child: Row(
|
||||
children: [
|
||||
text14w400_FCFCFC("Make primary"),
|
||||
const Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/leave group.png",
|
||||
"assets/images/png/mingcute_eye-close-line.png",
|
||||
height: 20.h,
|
||||
width: 20.w,
|
||||
)
|
||||
@@ -193,7 +174,7 @@ class _RequestedGroupsState extends State<RequestedGroups> {
|
||||
),
|
||||
),
|
||||
),
|
||||
const PopupMenuDivider(),
|
||||
PopupMenuDivider(),
|
||||
PopupMenuItem(
|
||||
onTap: () {},
|
||||
child: Padding(
|
||||
@@ -201,11 +182,29 @@ class _RequestedGroupsState extends State<RequestedGroups> {
|
||||
EdgeInsets.symmetric(horizontal: 8.w),
|
||||
child: Row(
|
||||
children: [
|
||||
// text14w400_FCFCFC("Leave group"),
|
||||
text14w400_D90B2E("Leave group"),
|
||||
const Spacer(),
|
||||
text14w400_FCFCFC("Pin"),
|
||||
Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/LightGray22.png",
|
||||
"assets/images/png/f7_pin-fill (2).png",
|
||||
height: 25.h,
|
||||
width: 25.w,
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
PopupMenuDivider(),
|
||||
PopupMenuItem(
|
||||
onTap: () {},
|
||||
child: Padding(
|
||||
padding:
|
||||
EdgeInsets.symmetric(horizontal: 8.w),
|
||||
child: Row(
|
||||
children: [
|
||||
text14w400_FCFCFC("Leave community"),
|
||||
Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/logout 1 (traced).png",
|
||||
height: 18.h,
|
||||
width: 18.w,
|
||||
)
|
||||
|
||||
@@ -245,9 +245,9 @@ class _SessionsState extends State<Sessions> {
|
||||
Row(
|
||||
children: [
|
||||
Obx(() {
|
||||
return commonGlassContainer(
|
||||
border: 1,
|
||||
borderradius: 2,
|
||||
return commonGlassUI(
|
||||
borderwidth: 1,
|
||||
borderRadius: BorderRadius.circular( 2),
|
||||
height: 23.h,
|
||||
width: 23.w,
|
||||
opacity1: 0.24,
|
||||
@@ -334,19 +334,19 @@ class _SessionsState extends State<Sessions> {
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
height: 50.h,
|
||||
width: 127.w,
|
||||
borderradius: 30.r,
|
||||
border: 1,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
borderwidth: 1,
|
||||
customWidget: Center(
|
||||
child: text16400white("2"),
|
||||
)),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
height: 50.h,
|
||||
width: 215.w,
|
||||
borderradius: 30.r,
|
||||
border: 1,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
borderwidth: 1,
|
||||
customWidget: Center(
|
||||
child: Row(
|
||||
mainAxisAlignment:
|
||||
@@ -385,11 +385,11 @@ class _SessionsState extends State<Sessions> {
|
||||
borderType: BorderType.RRect,
|
||||
radius: Radius.circular(14.r),
|
||||
color: const Color(0xFF434A53),
|
||||
child: commonGlassContainer(
|
||||
border: 0,
|
||||
child: commonGlassUI(
|
||||
borderwidth: 0,
|
||||
width: double.infinity,
|
||||
height: 130.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: bannerPath.isNotEmpty &&
|
||||
isbannerAdded
|
||||
? Stack(children: [
|
||||
|
||||
@@ -123,11 +123,11 @@ class _EditSubgroupInfoState extends State<EditSubgroupInfo> {
|
||||
},
|
||||
);
|
||||
},
|
||||
child: commonGlassContainer(
|
||||
border: 0.9,
|
||||
child: commonGlassUI(
|
||||
borderwidth: 0.9,
|
||||
width: double.infinity,
|
||||
height: 150.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular(10.r),
|
||||
customWidget: bannerPath.isNotEmpty && isbannerAdded
|
||||
? Stack(children: [
|
||||
Image.file(
|
||||
|
||||
@@ -77,12 +77,12 @@ class _SubGroupInfoState extends State<SubGroupInfo> {
|
||||
),
|
||||
),
|
||||
],
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/Vector536.png",
|
||||
@@ -90,19 +90,19 @@ class _SubGroupInfoState extends State<SubGroupInfo> {
|
||||
width: 17.w,
|
||||
),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
),
|
||||
sizedBoxWidth(16.w),
|
||||
GestureDetector(
|
||||
onTap: () {
|
||||
Get.toNamed(RouteName.editsubgroupinfo);
|
||||
},
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/codicon_account.png",
|
||||
@@ -110,7 +110,7 @@ class _SubGroupInfoState extends State<SubGroupInfo> {
|
||||
width: 20.w,
|
||||
),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
),
|
||||
sizedBoxWidth(16.w),
|
||||
PopupMenuButton(
|
||||
@@ -300,31 +300,31 @@ class _SubGroupInfoState extends State<SubGroupInfo> {
|
||||
sizedBoxHeight(16.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 35.w,
|
||||
height: 35.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(
|
||||
child: Image.asset("assets/images/png/Black.png",
|
||||
height: 20.h, width: 20.w),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(7.w),
|
||||
text16w400_FCFCFCblur("The athlectic town"),
|
||||
sizedBoxWidth(20.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 35.w,
|
||||
height: 35.h,
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset("assets/images/png/img12.png",
|
||||
height: 20.h, width: 20.w),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(7.w),
|
||||
text16w400_FCFCFCblur("Public"),
|
||||
],
|
||||
@@ -401,11 +401,11 @@ class _SubGroupInfoState extends State<SubGroupInfo> {
|
||||
}
|
||||
}
|
||||
|
||||
return commonGlassContainer(
|
||||
return commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 570.h,
|
||||
border: 0,
|
||||
borderradius: 1,
|
||||
borderwidth: 0,
|
||||
borderRadius: BorderRadius.circular( 1),
|
||||
customWidget: Column(
|
||||
children: [
|
||||
sizedBoxHeight(25.h),
|
||||
@@ -591,13 +591,13 @@ class _SubGroupInfoState extends State<SubGroupInfo> {
|
||||
]),
|
||||
),
|
||||
const Spacer(),
|
||||
commonGlassContainer(
|
||||
border: 0.43,
|
||||
commonGlassUI(
|
||||
borderwidth: 0.43,
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
opacity1: 0.05,
|
||||
opacity2: 0.06,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
'assets/images/png/Frame 1000004088.png',
|
||||
@@ -609,11 +609,11 @@ class _SubGroupInfoState extends State<SubGroupInfo> {
|
||||
sizedBoxWidth(12.w),
|
||||
text14w400_FCFCFC('20'),
|
||||
sizedBoxWidth(20.w),
|
||||
commonGlassContainer(
|
||||
border: 0.43,
|
||||
commonGlassUI(
|
||||
borderwidth: 0.43,
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.05,
|
||||
opacity2: 0.06,
|
||||
customWidget: Center(
|
||||
@@ -751,11 +751,11 @@ class _SubGroupInfoState extends State<SubGroupInfo> {
|
||||
}
|
||||
|
||||
Widget containertile({required String text}) {
|
||||
return commonGlassContainer(
|
||||
border: 1,
|
||||
return commonGlassUI(
|
||||
borderwidth: 1,
|
||||
width: 100.w,
|
||||
height: 30.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
borderColor: const Color(0xFFD90B2E),
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
||||
|
||||
@@ -109,11 +109,11 @@ class _SubGroupsState extends State<SubGroups> {
|
||||
padding: EdgeInsets.only(bottom: 25.h),
|
||||
child: GestureDetector(
|
||||
onTap: ontap,
|
||||
child: commonGlassContainer(
|
||||
border: 0.9,
|
||||
child: commonGlassUI(
|
||||
borderwidth: 0.9,
|
||||
width: double.infinity,
|
||||
height: 162.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w, vertical: 16.h),
|
||||
child: Column(
|
||||
|
||||
@@ -80,11 +80,11 @@ class _ClubsState extends State<Clubs> {
|
||||
padding: EdgeInsets.only(bottom: 25.h),
|
||||
child: GestureDetector(
|
||||
onTap: ontap,
|
||||
child: commonGlassContainer(
|
||||
border: 0.9,
|
||||
child: commonGlassUI(
|
||||
borderwidth: 0.9,
|
||||
width: double.infinity,
|
||||
height: 143.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w, vertical: 16.h),
|
||||
child: Column(
|
||||
|
||||
@@ -129,22 +129,22 @@ class _AccountSessionState extends State<AccountSession> {
|
||||
Widget sessionCard({required String title, required String devicename, required String ipaddress}) {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 15),
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 90.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
|
||||
child: Column(
|
||||
children: [
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 25.w,
|
||||
height: 25.h,
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/Group 58645.png",
|
||||
@@ -152,7 +152,7 @@ class _AccountSessionState extends State<AccountSession> {
|
||||
width: 9.w,
|
||||
),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
sizedBoxWidth(10.w),
|
||||
text16400white(title),
|
||||
],
|
||||
@@ -174,7 +174,7 @@ class _AccountSessionState extends State<AccountSession> {
|
||||
],
|
||||
),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -169,10 +169,10 @@ class _FaqScreenState extends State<FaqScreen> {
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: isExpanded ? 250.h : 82.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: SingleChildScrollView(
|
||||
child: Padding(
|
||||
padding:
|
||||
@@ -207,7 +207,7 @@ class _FaqScreenState extends State<FaqScreen> {
|
||||
),
|
||||
),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
@@ -212,13 +212,13 @@ class _SettingsState extends State<Settings> {
|
||||
dialogwidget() {
|
||||
Get.dialog(Dialog(
|
||||
backgroundColor: Colors.transparent,
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 200.h,
|
||||
borderradius: 14,
|
||||
borderRadius: BorderRadius.circular( 14),
|
||||
opacity1: 0.09,
|
||||
opacity2: 0.13,
|
||||
border: 0.8,
|
||||
borderwidth: 0.8,
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w, vertical: 20.h),
|
||||
child: Column(
|
||||
@@ -239,15 +239,15 @@ class _SettingsState extends State<Settings> {
|
||||
// Get.offAllNamed(RouteName.loginScreen);
|
||||
Uploadata();
|
||||
},
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: 130.w,
|
||||
height: 40.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
opacity1: 0.05,
|
||||
opacity2: 0.07,
|
||||
customWidget:
|
||||
Center(child: text14400white("Yes, I want to")),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
),
|
||||
Container(
|
||||
height: 40.h,
|
||||
|
||||
@@ -436,10 +436,10 @@ class _BlockedUsersState extends State<BlockedUsers> {
|
||||
Get.dialog(Dialog(
|
||||
backgroundColor: Colors.transparent,
|
||||
surfaceTintColor: Colors.transparent,
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 200.h,
|
||||
borderradius: 14,
|
||||
borderRadius: BorderRadius.circular(14),
|
||||
opacity1: 0.09,
|
||||
opacity2: 0.13,
|
||||
customWidget: Padding(
|
||||
@@ -458,14 +458,14 @@ class _BlockedUsersState extends State<BlockedUsers> {
|
||||
onTap: () {
|
||||
Get.back();
|
||||
},
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: 110.w,
|
||||
height: 40.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
opacity1: 0.05,
|
||||
opacity2: 0.07,
|
||||
customWidget: Center(child: text14400white("No")),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
),
|
||||
InkWell(
|
||||
onTap: () {
|
||||
@@ -490,7 +490,7 @@ class _BlockedUsersState extends State<BlockedUsers> {
|
||||
],
|
||||
),
|
||||
),
|
||||
border: 0.8)));
|
||||
borderwidth: 0.8)));
|
||||
}
|
||||
|
||||
Widget blockedUser({
|
||||
|
||||
@@ -148,9 +148,9 @@ class _ShareProfileState extends State<ShareProfile> {
|
||||
],
|
||||
),
|
||||
Spacer(),
|
||||
commonGlassContainer(
|
||||
border: 1,
|
||||
borderradius: 2,
|
||||
commonGlassUI(
|
||||
borderwidth: 1,
|
||||
borderRadius: BorderRadius.circular( 2),
|
||||
height: 23.h,
|
||||
width: 23.w,
|
||||
opacity1: 0.24,
|
||||
|
||||
@@ -403,9 +403,9 @@ class _AddTimelineState extends State<AddTimeline> {
|
||||
Row(
|
||||
children: [
|
||||
Obx(() {
|
||||
return commonGlassContainer(
|
||||
border: 1,
|
||||
borderradius: 2,
|
||||
return commonGlassUI(
|
||||
borderwidth: 1,
|
||||
borderRadius: BorderRadius.circular(2),
|
||||
height: 20.h,
|
||||
width: 20.w,
|
||||
opacity1: 0.24,
|
||||
@@ -677,9 +677,9 @@ class _AddTimelineState extends State<AddTimeline> {
|
||||
Row(
|
||||
children: [
|
||||
Obx(() {
|
||||
return commonGlassContainer(
|
||||
border: 1,
|
||||
borderradius: 2,
|
||||
return commonGlassUI(
|
||||
borderwidth: 1,
|
||||
borderRadius: BorderRadius.circular( 2),
|
||||
height: 20.h,
|
||||
width: 20.w,
|
||||
opacity1: 0.24,
|
||||
|
||||
@@ -58,47 +58,14 @@ class _NotificationPageState extends State<NotificationPage> {
|
||||
body: Stack(
|
||||
children: [
|
||||
// const CommonBlurLeftRed(),
|
||||
const Positioned(top: 10, left: -30, child: CommonBlurLeftSecond()),
|
||||
// const CommonBlurRightRed(),
|
||||
// const CommonBlurLeft(),
|
||||
const Positioned(top: 150, right: -30, child: CommonBlurRightSecond()),
|
||||
const Positioned(top: 350, left: -30, child: CommonBlurLeftBlue()),
|
||||
GlassmorphicContainer(
|
||||
width: MediaQuery.of(context).size.width,
|
||||
height:
|
||||
// 500.h,
|
||||
MediaQuery.of(context).size.height,
|
||||
borderRadius: 2,
|
||||
blur: 6,
|
||||
alignment: Alignment.bottomLeft,
|
||||
border: 2,
|
||||
linearGradient: LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
],
|
||||
),
|
||||
borderGradient: LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
],
|
||||
),
|
||||
child: Column(
|
||||
|
||||
Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage("assets/images/png/Ellipse 1496.png"),
|
||||
fit: BoxFit.fill)),
|
||||
),
|
||||
Column(
|
||||
children: [
|
||||
ListView.separated(
|
||||
separatorBuilder: (context, index) {
|
||||
@@ -121,9 +88,9 @@ class _NotificationPageState extends State<NotificationPage> {
|
||||
},
|
||||
),
|
||||
],
|
||||
)),
|
||||
],
|
||||
),
|
||||
)]),
|
||||
|
||||
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -150,11 +150,11 @@ class _EditCommunityState extends State<EditCommunity> {
|
||||
borderType: BorderType.RRect,
|
||||
radius: Radius.circular(14.r),
|
||||
color: Color(0xFF434A53),
|
||||
child: commonGlassContainer(
|
||||
border: 0,
|
||||
child: commonGlassUI(
|
||||
borderwidth: 0,
|
||||
width: double.infinity,
|
||||
height: 150.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: bannerPath.isNotEmpty && isbannerAdded
|
||||
? Stack(children: [
|
||||
Image.file(
|
||||
@@ -210,10 +210,10 @@ class _EditCommunityState extends State<EditCommunity> {
|
||||
),
|
||||
),
|
||||
sizedBoxHeight(16.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 60.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Center(
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 12.w),
|
||||
@@ -247,7 +247,7 @@ class _EditCommunityState extends State<EditCommunity> {
|
||||
]),
|
||||
),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
sizedBoxHeight(25.h),
|
||||
text16w400_FCFCFC("Community name"),
|
||||
sizedBoxHeight(14.h),
|
||||
|
||||
@@ -105,19 +105,19 @@ class _ManageGroupsState extends State<ManageGroups> {
|
||||
sizedBoxHeight(25.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
width: 50.w,
|
||||
height: 50.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/Black.png",
|
||||
height: 30.h,
|
||||
width: 30.w,
|
||||
)),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(8.w),
|
||||
text18w400_FCFCFC("Create group"),
|
||||
Spacer(),
|
||||
|
||||
@@ -167,22 +167,22 @@ Widget rowTagRequestTile({
|
||||
}) {
|
||||
return Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w),
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 60.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Center(
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w),
|
||||
child: Row(children: [
|
||||
text16w700_FCFCFC(title),
|
||||
Spacer(),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 35.w,
|
||||
height: 35.h,
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Icon(
|
||||
Icons.clear,
|
||||
@@ -190,7 +190,7 @@ Widget rowTagRequestTile({
|
||||
color: Colors.white,
|
||||
weight: 1,
|
||||
)),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(16.w),
|
||||
Container(
|
||||
height: 35.h,
|
||||
@@ -209,7 +209,7 @@ Widget rowTagRequestTile({
|
||||
]),
|
||||
),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -52,11 +52,11 @@ class _AnnouncementRequestState extends State<AnnouncementRequest> {
|
||||
required String title,
|
||||
required String mainImg,
|
||||
}) {
|
||||
return commonGlassContainer(
|
||||
return commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 400.h,
|
||||
borderradius: 10.r,
|
||||
border: 1,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
borderwidth: 1,
|
||||
customWidget: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16),
|
||||
child: Column(children: [
|
||||
@@ -103,14 +103,14 @@ class _AnnouncementRequestState extends State<AnnouncementRequest> {
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 149.w,
|
||||
height: 30.h,
|
||||
opacity1: 0.05,
|
||||
opacity2: 0.07,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
customWidget: Center(child: text12w400_FCFCFC("Decline")),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
Container(
|
||||
height: 30.h,
|
||||
width: 150.h,
|
||||
|
||||
@@ -144,10 +144,10 @@ class _ManageMembersState extends State<ManageMembers> {
|
||||
hintText: "Start date - End date",
|
||||
)),
|
||||
Spacer(),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(
|
||||
@@ -157,7 +157,7 @@ class _ManageMembersState extends State<ManageMembers> {
|
||||
width: 23.w,
|
||||
),
|
||||
),
|
||||
border: 0.5)
|
||||
borderwidth: 0.5)
|
||||
],
|
||||
),
|
||||
],
|
||||
@@ -237,32 +237,32 @@ class _ManageMembersState extends State<ManageMembers> {
|
||||
sizedBoxHeight(16.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("M")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("Tu")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("W")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
Spacer(),
|
||||
Row(
|
||||
children: [
|
||||
@@ -282,32 +282,32 @@ class _ManageMembersState extends State<ManageMembers> {
|
||||
sizedBoxHeight(20.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("Th")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("F")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(15.w),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(child: text16w400_FCFCFC("Sa")),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
Spacer(),
|
||||
Row(
|
||||
children: [
|
||||
@@ -416,10 +416,10 @@ class _ManageMembersState extends State<ManageMembers> {
|
||||
hintText: "Start date - End date",
|
||||
)),
|
||||
Spacer(),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(
|
||||
@@ -429,7 +429,7 @@ class _ManageMembersState extends State<ManageMembers> {
|
||||
width: 23.w,
|
||||
),
|
||||
),
|
||||
border: 0.5)
|
||||
borderwidth: 0.5)
|
||||
],
|
||||
),
|
||||
],
|
||||
@@ -540,10 +540,10 @@ class _ManageMembersState extends State<ManageMembers> {
|
||||
hintText: "Start date - End date",
|
||||
)),
|
||||
Spacer(),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(
|
||||
@@ -553,7 +553,7 @@ class _ManageMembersState extends State<ManageMembers> {
|
||||
width: 23.w,
|
||||
),
|
||||
),
|
||||
border: 0.5)
|
||||
borderwidth: 0.5)
|
||||
],
|
||||
),
|
||||
],
|
||||
|
||||
@@ -41,17 +41,17 @@ class _NewAnnouncementState extends State<NewAnnouncement> {
|
||||
sizedBoxHeight(20.h),
|
||||
text16w400_FCFCFC("Description"),
|
||||
sizedBoxHeight(30.h),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 150.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Padding(
|
||||
padding:
|
||||
EdgeInsets.symmetric(horizontal: 12.w, vertical: 12.h),
|
||||
child: text14w400_FCFCFCblur(
|
||||
"Lorem Ipsum has been the industry's standard dummy text ever since the 1500s . . .Lorem Ipsum has been the industry's standard dummy text ever since the 1500s . . ."),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
sizedBoxHeight(80.h),
|
||||
CustomButton(
|
||||
text: "Post",
|
||||
|
||||
@@ -130,10 +130,10 @@ Widget announcementWidget({
|
||||
required String date,
|
||||
required String subtitle,
|
||||
}) {
|
||||
return commonGlassContainer(
|
||||
return commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 120.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w, vertical: 12.h),
|
||||
child: Column(
|
||||
@@ -155,5 +155,5 @@ Widget announcementWidget({
|
||||
],
|
||||
),
|
||||
),
|
||||
border: 1);
|
||||
borderwidth: 1);
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ class _GroupState extends State<Group> {
|
||||
},
|
||||
];
|
||||
|
||||
late Future myfuture;
|
||||
late Future myfuture;
|
||||
int id = Get.arguments["id"];
|
||||
|
||||
@override
|
||||
@@ -134,11 +134,11 @@ class _GroupState extends State<Group> {
|
||||
padding: EdgeInsets.only(bottom: 25.h),
|
||||
child: GestureDetector(
|
||||
onTap: () {},
|
||||
child: commonGlassContainer(
|
||||
border: 0.9,
|
||||
child: commonGlassUI(
|
||||
borderwidth: 0.9,
|
||||
width: double.infinity,
|
||||
height: 162.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular(10.r),
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: 16.w, vertical: 16.h),
|
||||
@@ -236,11 +236,12 @@ class _GroupState extends State<Group> {
|
||||
),
|
||||
Spacer(),
|
||||
PopupMenuButton(
|
||||
surfaceTintColor: Color(0xFF222935),
|
||||
surfaceTintColor:
|
||||
const Color(0xFF222935),
|
||||
constraints: BoxConstraints.tightFor(
|
||||
width: 200.w),
|
||||
offset: Offset(0, 30),
|
||||
color: Color(0xFF222935),
|
||||
offset: const Offset(0, 30),
|
||||
color: const Color(0xFF222935),
|
||||
tooltip: "",
|
||||
itemBuilder: (BuildContext context) =>
|
||||
<PopupMenuEntry>[
|
||||
@@ -252,8 +253,8 @@ class _GroupState extends State<Group> {
|
||||
child: Row(
|
||||
children: [
|
||||
text14w400_FCFCFC(
|
||||
"Mute community"),
|
||||
Spacer(),
|
||||
"Mute group"),
|
||||
const Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/Black (1).png",
|
||||
height: 18.h,
|
||||
@@ -263,7 +264,7 @@ class _GroupState extends State<Group> {
|
||||
),
|
||||
),
|
||||
),
|
||||
PopupMenuDivider(),
|
||||
const PopupMenuDivider(),
|
||||
PopupMenuItem(
|
||||
onTap: () {},
|
||||
child: Padding(
|
||||
@@ -272,10 +273,30 @@ class _GroupState extends State<Group> {
|
||||
child: Row(
|
||||
children: [
|
||||
text14w400_FCFCFC(
|
||||
"Hide post"),
|
||||
Spacer(),
|
||||
"Pin group"),
|
||||
const Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/mingcute_eye-close-line.png",
|
||||
"assets/images/png/f7_pin-fill (2).png",
|
||||
height: 27.h,
|
||||
width: 27.w,
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
const PopupMenuDivider(),
|
||||
PopupMenuItem(
|
||||
onTap: () {},
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: 8.w),
|
||||
child: Row(
|
||||
children: [
|
||||
text14w400_FCFCFC(
|
||||
"Make primary"),
|
||||
const Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/leave group.png",
|
||||
height: 20.h,
|
||||
width: 20.w,
|
||||
)
|
||||
@@ -283,7 +304,7 @@ class _GroupState extends State<Group> {
|
||||
),
|
||||
),
|
||||
),
|
||||
PopupMenuDivider(),
|
||||
const PopupMenuDivider(),
|
||||
PopupMenuItem(
|
||||
onTap: () {},
|
||||
child: Padding(
|
||||
@@ -291,30 +312,12 @@ class _GroupState extends State<Group> {
|
||||
horizontal: 8.w),
|
||||
child: Row(
|
||||
children: [
|
||||
text14w400_FCFCFC("Pin"),
|
||||
Spacer(),
|
||||
// text14w400_FCFCFC("Leave group"),
|
||||
text14w400_D90B2E(
|
||||
"Leave group"),
|
||||
const Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/f7_pin-fill (2).png",
|
||||
height: 25.h,
|
||||
width: 25.w,
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
PopupMenuDivider(),
|
||||
PopupMenuItem(
|
||||
onTap: () {},
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: 8.w),
|
||||
child: Row(
|
||||
children: [
|
||||
text14w400_FCFCFC(
|
||||
"Leave community"),
|
||||
Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/logout 1 (traced).png",
|
||||
"assets/images/png/LightGray22.png",
|
||||
height: 18.h,
|
||||
width: 18.w,
|
||||
)
|
||||
@@ -325,8 +328,8 @@ class _GroupState extends State<Group> {
|
||||
],
|
||||
child: Image.asset(
|
||||
"assets/images/png/Group 1000004071.png",
|
||||
height: 13.h,
|
||||
width: 3.w,
|
||||
height: 18.h,
|
||||
width: 20.w,
|
||||
)),
|
||||
],
|
||||
),
|
||||
@@ -335,7 +338,6 @@ class _GroupState extends State<Group> {
|
||||
sizedBoxHeight(10.h),
|
||||
Row(
|
||||
children: [
|
||||
|
||||
stackContainersGroups(
|
||||
number: joinedgroupsobj!
|
||||
.data![index].membersCount
|
||||
|
||||
@@ -84,19 +84,19 @@ class _AddGroupState extends State<AddGroup> {
|
||||
sizedBoxHeight(25.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
width: 50.w,
|
||||
height: 50.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/Black.png",
|
||||
height: 30.h,
|
||||
width: 30.w,
|
||||
)),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(8.w),
|
||||
text18w400_FCFCFC("Create group"),
|
||||
Spacer(),
|
||||
@@ -175,9 +175,9 @@ class _AddGroupState extends State<AddGroup> {
|
||||
),
|
||||
Spacer(),
|
||||
Obx(() {
|
||||
return commonGlassContainer(
|
||||
border: isCheckedList[index] ? 1.2 : 0.9,
|
||||
borderradius: 2,
|
||||
return commonGlassUI(
|
||||
borderwidth: isCheckedList[index] ? 1.2 : 0.9,
|
||||
borderRadius: BorderRadius.circular( 2),
|
||||
height: 23.h,
|
||||
width: 23.w,
|
||||
opacity1: 0.24,
|
||||
|
||||
@@ -92,10 +92,10 @@ class _CommunityInfoState extends State<CommunityInfo> {
|
||||
sizedBoxHeight(30.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 35.w,
|
||||
height: 35.h,
|
||||
borderradius: 100.r,
|
||||
borderRadius: BorderRadius.circular( 100.r),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/Group 58645.png",
|
||||
@@ -103,7 +103,7 @@ class _CommunityInfoState extends State<CommunityInfo> {
|
||||
width: 13.w,
|
||||
),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(8.w),
|
||||
text16w400_white("Elm street london, United Kingdom")
|
||||
],
|
||||
@@ -111,10 +111,10 @@ class _CommunityInfoState extends State<CommunityInfo> {
|
||||
sizedBoxHeight(15.h),
|
||||
Row(
|
||||
children: [
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 35.w,
|
||||
height: 35.h,
|
||||
borderradius: 100.r,
|
||||
borderRadius: BorderRadius.circular( 100.r),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
"assets/images/png/puzzle-pieces 1 (traced).png",
|
||||
@@ -122,7 +122,7 @@ class _CommunityInfoState extends State<CommunityInfo> {
|
||||
width: 20.w,
|
||||
),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(8.w),
|
||||
text16w400_white("Sports")
|
||||
],
|
||||
|
||||
@@ -65,10 +65,10 @@ class _NewCommunityState extends State<NewCommunity> {
|
||||
},
|
||||
);
|
||||
},
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: 95.w,
|
||||
height: 95.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: filePath.isNotEmpty && isImageAdded
|
||||
@@ -89,7 +89,7 @@ class _NewCommunityState extends State<NewCommunity> {
|
||||
width: 30.w,
|
||||
),
|
||||
),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
),
|
||||
),
|
||||
sizedBoxHeight(20.h),
|
||||
@@ -117,11 +117,11 @@ class _NewCommunityState extends State<NewCommunity> {
|
||||
borderType: BorderType.RRect,
|
||||
radius: Radius.circular(14.r),
|
||||
color: Color(0xFF434A53),
|
||||
child: commonGlassContainer(
|
||||
border: 0,
|
||||
child: commonGlassUI(
|
||||
borderwidth: 0,
|
||||
width: double.infinity,
|
||||
height: 130.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular(10.r),
|
||||
customWidget: bannerPath.isNotEmpty && isbannerAdded
|
||||
? Stack(children: [
|
||||
Image.file(
|
||||
|
||||
@@ -210,10 +210,10 @@ class _CommunityDetailsState extends State<CommunityDetails> {
|
||||
children: [
|
||||
text20w700_FCFCFC("Active alliance network"),
|
||||
Spacer(),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: 35.w,
|
||||
height: 35.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(
|
||||
@@ -222,16 +222,16 @@ class _CommunityDetailsState extends State<CommunityDetails> {
|
||||
height: 18.w,
|
||||
width: 18.w,
|
||||
)),
|
||||
border: 0.5),
|
||||
borderwidth: 0.5),
|
||||
sizedBoxWidth(8.w),
|
||||
text16w400_FCFCFCblur("Public"),
|
||||
],
|
||||
),
|
||||
sizedBoxHeight(20.h),
|
||||
commonGlassContainer(
|
||||
commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 51.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
@@ -260,16 +260,16 @@ class _CommunityDetailsState extends State<CommunityDetails> {
|
||||
),
|
||||
],
|
||||
),
|
||||
border: 1.w),
|
||||
borderwidth: 1.w),
|
||||
sizedBoxHeight(20.h),
|
||||
GestureDetector(
|
||||
onTap: () {
|
||||
Get.toNamed(RouteName.addgroup);
|
||||
},
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 51.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w),
|
||||
child: Column(
|
||||
@@ -293,17 +293,17 @@ class _CommunityDetailsState extends State<CommunityDetails> {
|
||||
],
|
||||
),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
),
|
||||
sizedBoxHeight(20.h),
|
||||
GestureDetector(
|
||||
onTap: () {
|
||||
Get.toNamed(RouteName.announcement);
|
||||
},
|
||||
child: commonGlassContainer(
|
||||
child: commonGlassUI(
|
||||
width: double.infinity,
|
||||
height: 51.h,
|
||||
borderradius: 10.r,
|
||||
borderRadius: BorderRadius.circular( 10.r),
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w),
|
||||
child: Column(
|
||||
@@ -331,7 +331,7 @@ class _CommunityDetailsState extends State<CommunityDetails> {
|
||||
],
|
||||
),
|
||||
),
|
||||
border: 1),
|
||||
borderwidth: 1),
|
||||
),
|
||||
sizedBoxHeight(35.h),
|
||||
Container(
|
||||
@@ -598,13 +598,13 @@ class _CommunityDetailsState extends State<CommunityDetails> {
|
||||
'assets/images/png/party-popper 2.png'
|
||||
]),
|
||||
Spacer(),
|
||||
commonGlassContainer(
|
||||
border: 0.43,
|
||||
commonGlassUI(
|
||||
borderwidth: 0.43,
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
opacity1: 0.05,
|
||||
opacity2: 0.06,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
customWidget: Center(
|
||||
child: Image.asset(
|
||||
'assets/images/png/Frame 1000004088.png',
|
||||
@@ -616,11 +616,11 @@ class _CommunityDetailsState extends State<CommunityDetails> {
|
||||
sizedBoxWidth(12.w),
|
||||
text14w400_FCFCFC('20'),
|
||||
sizedBoxWidth(20.w),
|
||||
commonGlassContainer(
|
||||
border: 0.43,
|
||||
commonGlassUI(
|
||||
borderwidth: 0.43,
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular( 100),
|
||||
opacity1: 0.05,
|
||||
opacity2: 0.06,
|
||||
customWidget: Center(
|
||||
@@ -753,11 +753,11 @@ class _CommunityDetailsState extends State<CommunityDetails> {
|
||||
}
|
||||
|
||||
Widget containertile({required String text}) {
|
||||
return commonGlassContainer(
|
||||
border: 1,
|
||||
return commonGlassUI(
|
||||
borderwidth: 1,
|
||||
width: 100.w,
|
||||
height: 30.h,
|
||||
borderradius: 30.r,
|
||||
borderRadius: BorderRadius.circular( 30.r),
|
||||
borderColor: Color(0xFFD90B2E),
|
||||
customWidget: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
||||
|
||||
@@ -198,11 +198,11 @@ class _MyCommunityState extends State<MyCommunity> {
|
||||
Row(
|
||||
children: [
|
||||
Stack(clipBehavior: Clip.none, children: [
|
||||
commonGlassContainer(
|
||||
border: 0.9,
|
||||
commonGlassUI(
|
||||
borderwidth: 0.9,
|
||||
width: 30.w,
|
||||
height: 30.h,
|
||||
borderradius: 100.r,
|
||||
borderRadius: BorderRadius.circular(100.r),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(
|
||||
|
||||
@@ -102,45 +102,54 @@ class _VerifygoogleandappleState extends State<Verifygoogleandapple> {
|
||||
backgroundColor: const Color.fromARGB(255, 18, 32, 47),
|
||||
body: Stack(
|
||||
children: [
|
||||
const Positioned(
|
||||
top: 310, right: -30, child: CommonBlurRightSecond()),
|
||||
const Positioned(top: 510, left: -30, child: CommonBlurLeftBlue()),
|
||||
GlassmorphicContainer(
|
||||
width: MediaQuery.of(context).size.width,
|
||||
height:
|
||||
// 500.h,
|
||||
MediaQuery.of(context).size.height,
|
||||
borderRadius: 2,
|
||||
blur: 6,
|
||||
alignment: Alignment.bottomLeft,
|
||||
border: 2,
|
||||
linearGradient: LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
|
||||
|
||||
// Positioned(
|
||||
// top: 310, right: -30, child: CommonBlurRightSecond()),
|
||||
// const Positioned(top: 510, left: -30, child: CommonBlurLeftBlue()),
|
||||
// GlassmorphicContainer(
|
||||
// width: MediaQuery.of(context).size.width,
|
||||
// height:
|
||||
// // 500.h,
|
||||
// MediaQuery.of(context).size.height,
|
||||
// borderRadius: 2,
|
||||
// blur: 6,
|
||||
// alignment: Alignment.bottomLeft,
|
||||
// border: 2,
|
||||
// linearGradient: LinearGradient(
|
||||
// begin: Alignment.topCenter,
|
||||
// end: Alignment.bottomCenter,
|
||||
// colors: [
|
||||
// const Color(0XFF222935).withOpacity(0.60),
|
||||
// const Color(0XFF222935).withOpacity(0.60),
|
||||
// const Color(0XFF222935).withOpacity(0.60),
|
||||
// const Color(0XFF222935).withOpacity(0.60),
|
||||
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
],
|
||||
),
|
||||
borderGradient: LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
// // Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// // Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// // Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// // Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// ],
|
||||
// ),
|
||||
// borderGradient: LinearGradient(
|
||||
// begin: Alignment.topCenter,
|
||||
// end: Alignment.bottomCenter,
|
||||
// colors: [
|
||||
// // Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// // Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// const Color(0XFF222935).withOpacity(0.60),
|
||||
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
],
|
||||
),
|
||||
child: Padding(
|
||||
// const Color(0XFF222935).withOpacity(0.60),
|
||||
// ],
|
||||
// ),
|
||||
Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage("assets/images/png/Ellipse 1496.png"),
|
||||
fit: BoxFit.fill)),
|
||||
),
|
||||
|
||||
Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
@@ -234,10 +243,8 @@ class _VerifygoogleandappleState extends State<Verifygoogleandapple> {
|
||||
],
|
||||
),
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
] )
|
||||
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -129,11 +129,11 @@ class CommonAppbar extends StatelessWidget implements PreferredSizeWidget {
|
||||
child: Row(
|
||||
children: [
|
||||
sizedBoxWidth(10.w),
|
||||
commonGlassContainer(
|
||||
border: 0.5,
|
||||
commonGlassUI(
|
||||
borderwidth: 0.5,
|
||||
width: 40.w,
|
||||
height: 40.h,
|
||||
borderradius: 100,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
opacity1: 0.24,
|
||||
opacity2: 0.24,
|
||||
customWidget: Center(
|
||||
|
||||
@@ -45,9 +45,10 @@ Widget text20400white(String text) {
|
||||
);
|
||||
}
|
||||
|
||||
Widget text20400FCFCFC(String text) {
|
||||
Widget text20400FCFCFC(String text, {TextAlign? textAlign}) {
|
||||
return Text(
|
||||
text,
|
||||
textAlign: textAlign,
|
||||
style: TextStyle(
|
||||
fontSize: 20.sp,
|
||||
color: const Color(0xFFFCFCFC),
|
||||
@@ -172,6 +173,18 @@ Widget text144005DFD63(String text) {
|
||||
);
|
||||
}
|
||||
|
||||
Widget text13400A7A7A7(String text) {
|
||||
return Text(
|
||||
text,
|
||||
// textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
fontSize: 13.sp,
|
||||
color: const Color(0xFFA7A7A7),
|
||||
fontWeight: FontWeight.w400,
|
||||
fontFamily: 'Helvetica'),
|
||||
);
|
||||
}
|
||||
|
||||
Widget text14400whiteblur(String text, {TextAlign? textAlign}) {
|
||||
return Text(
|
||||
text,
|
||||
@@ -382,9 +395,10 @@ Widget txt20Black(txt) {
|
||||
);
|
||||
}
|
||||
|
||||
Widget text16w400_FCFCFC(String text) {
|
||||
Widget text16w400_FCFCFC(String text, {TextAlign? textAlign}) {
|
||||
return Text(
|
||||
text,
|
||||
textAlign: textAlign,
|
||||
style: TextStyle(
|
||||
fontSize: 16.sp,
|
||||
color: const Color(0xFFFCFCFC),
|
||||
@@ -447,9 +461,10 @@ Widget text10400whiteblur(String text) {
|
||||
);
|
||||
}
|
||||
|
||||
Widget text16w700_FCFCFC(String text) {
|
||||
Widget text16w700_FCFCFC(String text, {TextAlign? textAlign}) {
|
||||
return Text(
|
||||
text,
|
||||
textAlign: textAlign,
|
||||
style: TextStyle(
|
||||
fontSize: 16.sp,
|
||||
color: const Color(0xFFFCFCFC),
|
||||
|
||||
@@ -122,7 +122,9 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
|
||||
fontFamily: 'Cambria',
|
||||
),
|
||||
debugShowCheckedModeBanner: false,
|
||||
initialRoute: RouteName.splashScreen,
|
||||
// initialRoute: RouteName.individualactivitystep2,
|
||||
initialRoute: RouteName.individualactivitystep2,
|
||||
|
||||
getPages: AppRoutes.appRoutes(),
|
||||
),
|
||||
designSize: const Size(390, 844),
|
||||
|
||||
@@ -29,46 +29,14 @@ class _SelectgroupStep2State extends State<SelectgroupStep2> {
|
||||
backgroundColor: Color.fromARGB(255, 18, 32, 47),
|
||||
body: Stack(
|
||||
children: [
|
||||
Positioned(top: 70, left: -30, child: CommonBlurLeftSecond()),
|
||||
Positioned(top: 400, right: -30, child: CommonBlurRightSecond()),
|
||||
Positioned(top: 630, left: -30, child: CommonBlurLeftBlue()),
|
||||
SingleChildScrollView(
|
||||
child: GlassmorphicContainer(
|
||||
width: MediaQuery.of(context).size.width,
|
||||
height:
|
||||
// 500.h,
|
||||
MediaQuery.of(context).size.height,
|
||||
borderRadius: 2,
|
||||
blur: 6,
|
||||
alignment: Alignment.bottomLeft,
|
||||
border: 2,
|
||||
linearGradient: LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
Color(0XFF222935).withOpacity(0.60),
|
||||
Color(0XFF222935).withOpacity(0.60),
|
||||
Color(0XFF222935).withOpacity(0.60),
|
||||
Color(0XFF222935).withOpacity(0.60),
|
||||
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
],
|
||||
),
|
||||
borderGradient: LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
Color(0XFF222935).withOpacity(0.60),
|
||||
|
||||
Color(0XFF222935).withOpacity(0.60),
|
||||
],
|
||||
),
|
||||
child: Padding(
|
||||
Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage("assets/images/png/Ellipse 1496.png"),
|
||||
fit: BoxFit.fill)),
|
||||
),
|
||||
|
||||
Padding(
|
||||
padding:
|
||||
EdgeInsets.symmetric(horizontal: 16.w, vertical: 50.h),
|
||||
child: Column(
|
||||
@@ -241,10 +209,10 @@ class _SelectgroupStep2State extends State<SelectgroupStep2> {
|
||||
})
|
||||
],
|
||||
),
|
||||
)),
|
||||
),
|
||||
],
|
||||
));
|
||||
)],),
|
||||
|
||||
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -29,46 +29,13 @@ class _SelectBusinessCommunityState extends State<SelectBusinessCommunity> {
|
||||
backgroundColor: const Color.fromARGB(255, 18, 32, 47),
|
||||
body: Stack(
|
||||
children: [
|
||||
const Positioned(top: 70, left: -30, child: CommonBlurLeftSecond()),
|
||||
const Positioned(top: 400, right: -30, child: CommonBlurRightSecond()),
|
||||
const Positioned(top: 630, left: -30, child: CommonBlurLeftBlue()),
|
||||
SingleChildScrollView(
|
||||
child: GlassmorphicContainer(
|
||||
width: MediaQuery.of(context).size.width,
|
||||
height:
|
||||
// 500.h,
|
||||
MediaQuery.of(context).size.height,
|
||||
borderRadius: 2,
|
||||
blur: 6,
|
||||
alignment: Alignment.bottomLeft,
|
||||
border: 2,
|
||||
linearGradient: LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
],
|
||||
),
|
||||
borderGradient: LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
],
|
||||
),
|
||||
child: Padding(
|
||||
Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage("assets/images/png/Ellipse 1496.png"),
|
||||
fit: BoxFit.fill)),
|
||||
),
|
||||
Padding(
|
||||
padding:
|
||||
EdgeInsets.symmetric(horizontal: 16.w, vertical: 50.h),
|
||||
child: Column(
|
||||
@@ -242,10 +209,10 @@ class _SelectBusinessCommunityState extends State<SelectBusinessCommunity> {
|
||||
})
|
||||
],
|
||||
),
|
||||
)),
|
||||
),
|
||||
],
|
||||
));
|
||||
)]),
|
||||
|
||||
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
44
lib/onboarding/Signup/View/Individual/FindCommunityPage.dart
Normal file
44
lib/onboarding/Signup/View/Individual/FindCommunityPage.dart
Normal file
@@ -0,0 +1,44 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:regroup/Common/CommonButton.dart';
|
||||
import 'package:regroup/Utils/Common/sized_box.dart';
|
||||
import 'package:regroup/Utils/texts.dart';
|
||||
import 'package:regroup/resources/routes/route_name.dart';
|
||||
|
||||
class FindCommunityPage extends StatelessWidget {
|
||||
const FindCommunityPage({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
backgroundColor: Color(0xFF222935),
|
||||
body: SingleChildScrollView(
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(
|
||||
vertical: 60.h,
|
||||
),
|
||||
child: Column(children: [
|
||||
sizedBoxHeight(40.h),
|
||||
Image.asset("assets/images/png/Organizing projects-pana 1.png"),
|
||||
sizedBoxHeight(30.h),
|
||||
Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
||||
child: Column(children: [
|
||||
text20400FCFCFC(
|
||||
'''ReGroup helps organise individuals into groups, and groups within communities. For example, an individual is part of a local football club, while all the football clubs in the city form a wider football community. If you already know which communities you're interested in, you can search for them here.''',
|
||||
textAlign: TextAlign.center),
|
||||
sizedBoxHeight(20.h),
|
||||
CommonBtn(
|
||||
text: "Find communities",
|
||||
onTap: () {
|
||||
// individualcommunitystep4
|
||||
// Get.toNamed(RouteName.individualgroupstep3);
|
||||
Get.toNamed(RouteName.individualcommunitystep4);
|
||||
}),
|
||||
]),
|
||||
),
|
||||
])),
|
||||
));
|
||||
}
|
||||
}
|
||||
@@ -2,9 +2,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:flutter_svg/flutter_svg.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:glassmorphism/glassmorphism.dart';
|
||||
import 'package:regroup/Utils/Common/CustomNextButton.dart';
|
||||
import 'package:regroup/Utils/Common/blureffect.dart';
|
||||
import 'package:regroup/Utils/Common/sized_box.dart';
|
||||
import 'package:regroup/Utils/texts.dart';
|
||||
import 'package:regroup/resources/routes/route_name.dart';
|
||||
@@ -26,45 +24,14 @@ class _SelectIndividualProfileState extends State<SelectIndividualProfile> {
|
||||
backgroundColor: const Color.fromARGB(255, 18, 32, 47),
|
||||
body: Stack(
|
||||
children: [
|
||||
const Positioned(top: 70, left: -30, child: CommonBlurLeftSecond()),
|
||||
const Positioned(top: 310, right: -30, child: CommonBlurRightSecond()),
|
||||
const Positioned(top: 540, left: -30, child: CommonBlurLeftBlue()),
|
||||
GlassmorphicContainer(
|
||||
width: MediaQuery.of(context).size.width,
|
||||
height:
|
||||
// 500.h,
|
||||
MediaQuery.of(context).size.height,
|
||||
borderRadius: 2,
|
||||
blur: 6,
|
||||
alignment: Alignment.bottomLeft,
|
||||
border: 2,
|
||||
linearGradient: LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
],
|
||||
),
|
||||
borderGradient: LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
],
|
||||
),
|
||||
child: Padding(
|
||||
Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage("assets/images/png/Ellipse 1496.png"),
|
||||
fit: BoxFit.fill)),
|
||||
),
|
||||
|
||||
Padding(
|
||||
padding:
|
||||
EdgeInsets.symmetric(horizontal: 16.w, vertical: 50.h),
|
||||
child: Column(
|
||||
@@ -181,7 +148,7 @@ class _SelectIndividualProfileState extends State<SelectIndividualProfile> {
|
||||
})
|
||||
],
|
||||
),
|
||||
)),
|
||||
)
|
||||
],
|
||||
));
|
||||
}
|
||||
|
||||
@@ -1,22 +1,19 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:flutter_svg/flutter_svg.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:glassmorphism/glassmorphism.dart';
|
||||
import 'package:regroup/Common/CommonDropDown.dart';
|
||||
import 'package:regroup/Common/CommonButton.dart';
|
||||
import 'package:regroup/Common/base_manager.dart';
|
||||
import 'package:regroup/Utils/Common/CommonDropdown.dart';
|
||||
import 'package:regroup/Utils/Common/CustomNextButton.dart';
|
||||
import 'package:regroup/Utils/Common/CustomTextformfield.dart';
|
||||
import 'package:regroup/Utils/Common/blureffect.dart';
|
||||
import 'package:regroup/Utils/Common/sized_box.dart';
|
||||
import 'package:regroup/Utils/dialogs.dart';
|
||||
import 'package:regroup/Utils/texts.dart';
|
||||
import 'package:regroup/onboarding/Signup/view_model/getmethod.dart';
|
||||
import 'package:regroup/onboarding/Signup/view_model/postmethod.dart';
|
||||
import 'package:regroup/resources/routes/route_name.dart';
|
||||
import 'package:remove_emoji_input_formatter/remove_emoji_input_formatter.dart';
|
||||
|
||||
int? _firstSelectedIndex;
|
||||
bool _isFirstSelectionActive = false;
|
||||
|
||||
class SelectIndividualActivity extends StatefulWidget {
|
||||
const SelectIndividualActivity({super.key});
|
||||
@@ -45,16 +42,49 @@ class _SelectIndividualActivityState extends State<SelectIndividualActivity> {
|
||||
// });
|
||||
// }
|
||||
|
||||
void _onContainerTap(int id) {
|
||||
void _onContainerTap(int index) {
|
||||
setState(() {
|
||||
if (_selectedIndices.contains(id)) {
|
||||
_selectedIndices.remove(id);
|
||||
if (_selectedIndices.contains(index)) {
|
||||
_selectedIndices.remove(index);
|
||||
if (_firstSelectedIndex == index) {
|
||||
// If the first selected container is unselected, reset the active state
|
||||
_firstSelectedIndex = null;
|
||||
_isFirstSelectionActive = false;
|
||||
}
|
||||
} else {
|
||||
_selectedIndices.add(id);
|
||||
if (_firstSelectedIndex == null) {
|
||||
// The first item is being selected
|
||||
_firstSelectedIndex = index;
|
||||
_isFirstSelectionActive = true;
|
||||
}
|
||||
_selectedIndices.add(index);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Color _getGradientColor(int index) {
|
||||
if (_selectedIndices.isEmpty) {
|
||||
return Colors.transparent;
|
||||
} else if (_firstSelectedIndex == index && _isFirstSelectionActive) {
|
||||
// Apply Color(0XFFD90B2E) to the first selected item
|
||||
return Color(0XFFD90B2E);
|
||||
} else if (_selectedIndices.contains(index)) {
|
||||
// Apply Color(0xFF009DAB) to all other selected items
|
||||
return Color(0xFF009DAB);
|
||||
}
|
||||
return Colors.transparent;
|
||||
}
|
||||
|
||||
// void _onContainerTap(int id) {
|
||||
// setState(() {
|
||||
// if (_selectedIndices.contains(id)) {
|
||||
// _selectedIndices.remove(id);
|
||||
// } else {
|
||||
// _selectedIndices.add(id);
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
|
||||
// to give two different colors for selectedd two containers
|
||||
// Color _getGradientColor(int index) {
|
||||
// if (_selectedIndices.isEmpty) {
|
||||
@@ -72,12 +102,12 @@ class _SelectIndividualActivityState extends State<SelectIndividualActivity> {
|
||||
// return Colors.transparent;
|
||||
// }
|
||||
|
||||
Color _getGradientColor(int id) {
|
||||
if (_selectedIndices.contains(id)) {
|
||||
return const Color(0XFFD90B2E); // Selected color
|
||||
}
|
||||
return Colors.transparent; // Default color
|
||||
}
|
||||
// Color _getGradientColor(int id) {
|
||||
// if (_selectedIndices.contains(id)) {
|
||||
// return const Color(0XFFD90B2E); // Selected color
|
||||
// }
|
||||
// return Colors.transparent; // Default color
|
||||
// }
|
||||
|
||||
Uploadata() async {
|
||||
utils.loader();
|
||||
@@ -93,7 +123,8 @@ class _SelectIndividualActivityState extends State<SelectIndividualActivity> {
|
||||
if (data.status == ResponseStatus.SUCCESS) {
|
||||
Get.back();
|
||||
print("Activities selected");
|
||||
Get.toNamed(RouteName.individualgroupstep3);
|
||||
// Get.toNamed(RouteName.individualgroupstep3);
|
||||
Get.toNamed(RouteName.findcommunitypage);
|
||||
|
||||
return utils.showToast(data.message);
|
||||
} else {
|
||||
@@ -106,310 +137,291 @@ class _SelectIndividualActivityState extends State<SelectIndividualActivity> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return GestureDetector(
|
||||
onTap: () => FocusManager.instance.primaryFocus?.unfocus(),
|
||||
child: Scaffold(
|
||||
backgroundColor: const Color.fromARGB(255, 18, 32, 47),
|
||||
bottomNavigationBar: Padding(
|
||||
padding: const EdgeInsets.only(bottom: 10, left: 16, right: 16),
|
||||
child: CustomButton(
|
||||
text: "Continue",
|
||||
onPressed: () {
|
||||
if (_selectedIndices.isEmpty &&
|
||||
otheractivitycontroller.text.isEmpty) {
|
||||
utils.showToast('Please select activity');
|
||||
} else {
|
||||
print(_selectedIndices.toString());
|
||||
// String selectedIndicesString =
|
||||
// _selectedIndices.join(',');
|
||||
// print(
|
||||
// 'Selected Indices: [$selectedIndicesString]');
|
||||
Uploadata();
|
||||
}
|
||||
// Get.toNamed(
|
||||
// RouteName.individualgroupstep3);
|
||||
}),
|
||||
),
|
||||
body: SafeArea(
|
||||
child: FutureBuilder(
|
||||
future: Getonboard().getIndividualactivity(),
|
||||
builder: (ctx, snapshot) {
|
||||
if (snapshot.data == null) {
|
||||
return const Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [Center(child: CircularProgressIndicator())],
|
||||
);
|
||||
}
|
||||
if (snapshot.connectionState == ConnectionState.done) {
|
||||
if (snapshot.hasError) {
|
||||
return Center(
|
||||
child: Text(
|
||||
'${snapshot.error} occured',
|
||||
style: TextStyle(fontSize: 18.spMin),
|
||||
),
|
||||
onTap: () => FocusManager.instance.primaryFocus?.unfocus(),
|
||||
child: Scaffold(
|
||||
backgroundColor: const Color.fromARGB(255, 18, 32, 47),
|
||||
bottomNavigationBar: Padding(
|
||||
padding: const EdgeInsets.only(bottom: 10, left: 16, right: 16),
|
||||
child: CustomButton(
|
||||
text: "Continue",
|
||||
onPressed: () {
|
||||
if (_selectedIndices.isEmpty &&
|
||||
otheractivitycontroller.text.isEmpty) {
|
||||
utils.showToast('Please select activity');
|
||||
} else {
|
||||
print(_selectedIndices.toString());
|
||||
// String selectedIndicesString =
|
||||
// _selectedIndices.join(',');
|
||||
// print(
|
||||
// 'Selected Indices: [$selectedIndicesString]');
|
||||
Uploadata();
|
||||
}
|
||||
// Get.toNamed(
|
||||
// RouteName.individualgroupstep3);
|
||||
}),
|
||||
),
|
||||
body: SafeArea(
|
||||
child: FutureBuilder(
|
||||
future: Getonboard().getIndividualactivity(),
|
||||
builder: (ctx, snapshot) {
|
||||
if (snapshot.data == null) {
|
||||
return const Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [Center(child: CircularProgressIndicator())],
|
||||
);
|
||||
}
|
||||
}
|
||||
if (snapshot.connectionState == ConnectionState.done) {
|
||||
if (snapshot.hasError) {
|
||||
return Center(
|
||||
child: Text(
|
||||
'${snapshot.error} occured',
|
||||
style: TextStyle(fontSize: 18.spMin),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
return Stack(
|
||||
children: [
|
||||
Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage(
|
||||
"assets/images/png/Ellipse 1496.png"),
|
||||
fit: BoxFit.fill)),
|
||||
),
|
||||
Padding(
|
||||
padding:
|
||||
EdgeInsets.symmetric(horizontal: 16.w, vertical: 0.h),
|
||||
child: SingleChildScrollView(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Align(
|
||||
alignment: Alignment.topRight,
|
||||
child: GestureDetector(
|
||||
onTap: () {
|
||||
Get.toNamed(RouteName.communitycommitscreen);
|
||||
},
|
||||
child: Text(
|
||||
'Skip',
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 16.sp,
|
||||
fontFamily: 'Helvetica',
|
||||
fontWeight: FontWeight.w400,
|
||||
decoration: TextDecoration.underline,
|
||||
decorationColor: Colors.white),
|
||||
return Stack(
|
||||
children: [
|
||||
Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage(
|
||||
"assets/images/png/Ellipse 1496.png"),
|
||||
fit: BoxFit.fill)),
|
||||
),
|
||||
Padding(
|
||||
padding:
|
||||
EdgeInsets.symmetric(horizontal: 16.w, vertical: 0.h),
|
||||
child: SingleChildScrollView(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Align(
|
||||
alignment: Alignment.topRight,
|
||||
child: GestureDetector(
|
||||
onTap: () {
|
||||
Get.toNamed(RouteName.communitycommitscreen);
|
||||
},
|
||||
child: Text(
|
||||
'Skip',
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 16.sp,
|
||||
fontFamily: 'Helvetica',
|
||||
fontWeight: FontWeight.w400,
|
||||
decoration: TextDecoration.underline,
|
||||
decorationColor: Colors.white),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
sizedBoxHeight(30.h),
|
||||
Align(
|
||||
alignment: Alignment.center,
|
||||
child: text16400white('Step 1 of 3')),
|
||||
sizedBoxHeight(20.h),
|
||||
Container(
|
||||
width: double.infinity,
|
||||
height: 25.h,
|
||||
decoration: ShapeDecoration(
|
||||
shape: RoundedRectangleBorder(
|
||||
side: const BorderSide(
|
||||
width: 1, color: Color(0xFF434A53)),
|
||||
borderRadius: BorderRadius.circular(30),
|
||||
sizedBoxHeight(30.h),
|
||||
Align(
|
||||
alignment: Alignment.center,
|
||||
child: text16400white('Step 1 of 3')),
|
||||
sizedBoxHeight(20.h),
|
||||
Container(
|
||||
width: double.infinity,
|
||||
height: 25.h,
|
||||
decoration: ShapeDecoration(
|
||||
shape: RoundedRectangleBorder(
|
||||
side: const BorderSide(
|
||||
width: 1, color: Color(0xFF434A53)),
|
||||
borderRadius: BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: 8.w, vertical: 2.h),
|
||||
child: Row(
|
||||
children: [
|
||||
Container(
|
||||
width: 120.w,
|
||||
height: 15.h,
|
||||
decoration: ShapeDecoration(
|
||||
gradient: const LinearGradient(
|
||||
begin: Alignment(0.98, -0.21),
|
||||
end: Alignment(-0.98, 0.21),
|
||||
colors: [
|
||||
Color(0xA5D90B2E),
|
||||
Color(0x42D90B2E)
|
||||
],
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius:
|
||||
BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
child: Row(
|
||||
mainAxisAlignment:
|
||||
MainAxisAlignment.end,
|
||||
children: [
|
||||
Container(
|
||||
width: 15,
|
||||
height: 15,
|
||||
decoration: ShapeDecoration(
|
||||
gradient: const LinearGradient(
|
||||
begin: Alignment(0.98, -0.21),
|
||||
end: Alignment(-0.98, 0.21),
|
||||
colors: [
|
||||
Color(0xFFD90B2E),
|
||||
Color(0x60D90B2E)
|
||||
],
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius:
|
||||
BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
)
|
||||
],
|
||||
))
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
sizedBoxHeight(40.h),
|
||||
indiactivityobj!.data == null ||
|
||||
indiactivityobj!.data!.isEmpty
|
||||
? _buildNoDataBody(context)
|
||||
: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: 8.w, vertical: 2.h),
|
||||
child: Row(
|
||||
children: [
|
||||
Center(
|
||||
child: _selectedIndices.isEmpty
|
||||
? text20400white(
|
||||
'What is your main activity ?')
|
||||
: text20400white(
|
||||
'What else do you do?')),
|
||||
sizedBoxHeight(10.w),
|
||||
Center(
|
||||
child: Container(
|
||||
width: 154.w,
|
||||
decoration: const ShapeDecoration(
|
||||
Container(
|
||||
width: 100.w,
|
||||
height: 15.h,
|
||||
decoration: ShapeDecoration(
|
||||
gradient: const LinearGradient(
|
||||
begin: Alignment(0.98, -0.21),
|
||||
end: Alignment(-0.98, 0.21),
|
||||
colors: [
|
||||
Color(0xA5D90B2E),
|
||||
Color(0x42D90B2E)
|
||||
],
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
side: BorderSide(
|
||||
width: 1,
|
||||
strokeAlign:
|
||||
BorderSide.strokeAlignCenter,
|
||||
color: Color(0xFF858585),
|
||||
),
|
||||
borderRadius:
|
||||
BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
sizedBoxHeight(30.h),
|
||||
GridView.builder(
|
||||
physics: const ScrollPhysics(),
|
||||
shrinkWrap: true,
|
||||
gridDelegate:
|
||||
SliverGridDelegateWithFixedCrossAxisCount(
|
||||
crossAxisCount:
|
||||
3, // Number of items in each row
|
||||
crossAxisSpacing: 12
|
||||
.w, // Horizontal spacing between items
|
||||
mainAxisSpacing: 12
|
||||
.h, // Vertical spacing between items
|
||||
),
|
||||
itemCount: indiactivityobj!.data!.length,
|
||||
itemBuilder: (context, index) {
|
||||
return ActivityContainer(
|
||||
index:
|
||||
indiactivityobj!.data![index].id!,
|
||||
titleString: indiactivityobj!
|
||||
.data![index].name!,
|
||||
image: indiactivityobj!
|
||||
.data![index].image,
|
||||
// 'assets/images/svg/individualact7.svg',
|
||||
isSelected: _selectedIndices.contains(
|
||||
indiactivityobj!
|
||||
.data![index].id!),
|
||||
gradientColor: _getGradientColor(
|
||||
indiactivityobj!
|
||||
.data![index].id!),
|
||||
onTap: _onContainerTap,
|
||||
);
|
||||
},
|
||||
),
|
||||
|
||||
sizedBoxHeight(30.h),
|
||||
text20400FCFCFC("Add other activity"),
|
||||
sizedBoxHeight(25.h),
|
||||
CustomTextFormField(
|
||||
textEditingController:
|
||||
otheractivitycontroller,
|
||||
texttype: TextInputType.text,
|
||||
hintText: "Enter other activity",
|
||||
// leadingIcon:
|
||||
// // const Icon(Icons.mail_outline),
|
||||
// Image.asset(
|
||||
// width: 22.w,
|
||||
// height: 17.h,
|
||||
// 'assets/images/png/user.png',
|
||||
// ),
|
||||
// validatorText: "Enter your full name",
|
||||
validator: (value) {
|
||||
if (value!.isEmpty) {
|
||||
return 'Enter your full name ';
|
||||
}
|
||||
return null;
|
||||
},
|
||||
inputFormatters: [
|
||||
// LengthLimitingTextInputFormatter(20),
|
||||
RemoveEmojiInputFormatter(),
|
||||
FilteringTextInputFormatter.allow(
|
||||
RegExp('[a-zA-Z ]'))
|
||||
],
|
||||
),
|
||||
// CustomDropDownRadio(
|
||||
// header: "",
|
||||
// title: "",
|
||||
// listData: [
|
||||
// "American football",
|
||||
// "Archery",
|
||||
// "Athletics",
|
||||
// "Baseball",
|
||||
// "Basketball",
|
||||
// "Boxing",
|
||||
// "Canoeing",
|
||||
// "Clay pigeon shooting",
|
||||
// "Climbing",
|
||||
// "Combat sports",
|
||||
// "Cricket",
|
||||
// "Dodgeball",
|
||||
// "Equestrian",
|
||||
// "Fencing",
|
||||
// "Gaelic football",
|
||||
// "Golf",
|
||||
// "Gymnastics",
|
||||
// "Handball",
|
||||
// "Hockey",
|
||||
// "Lacrosse",
|
||||
// "Modern biathlon and pentathlon",
|
||||
// "Netball",
|
||||
// "Orienteering",
|
||||
// "Pool and snooker",
|
||||
// "Powerlifting",
|
||||
// "Rifle",
|
||||
// "Rugby league",
|
||||
// "Rugby union",
|
||||
// "Sailing",
|
||||
// "Snowsports",
|
||||
// "Squash",
|
||||
// "Surfing",
|
||||
// "Swimming",
|
||||
// "Softball",
|
||||
// "Table tennis",
|
||||
// "Tennis",
|
||||
// "Touch rugby",
|
||||
// "Trampoline",
|
||||
// "Triathlon",
|
||||
// "Ultimate frisbee",
|
||||
// "Volleyball",
|
||||
// "Water polo",
|
||||
// "Windsurfing"
|
||||
// ],
|
||||
// onItemSelected: (p0) {},
|
||||
// leadingImage: SizedBox()),
|
||||
// // Spacer(flex: 1),
|
||||
|
||||
sizedBoxHeight(35.h),
|
||||
child: Row(
|
||||
mainAxisAlignment:
|
||||
MainAxisAlignment.end,
|
||||
children: [
|
||||
Container(
|
||||
width: 15,
|
||||
height: 15,
|
||||
decoration: ShapeDecoration(
|
||||
gradient: const LinearGradient(
|
||||
begin: Alignment(0.98, -0.21),
|
||||
end: Alignment(-0.98, 0.21),
|
||||
colors: [
|
||||
Color(0xFFD90B2E),
|
||||
Color(0x60D90B2E)
|
||||
],
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius:
|
||||
BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
)
|
||||
],
|
||||
))
|
||||
],
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
sizedBoxHeight(40.h),
|
||||
indiactivityobj!.data == null ||
|
||||
indiactivityobj!.data!.isEmpty
|
||||
? _buildNoDataBody(context)
|
||||
: Column(
|
||||
crossAxisAlignment:
|
||||
CrossAxisAlignment.center,
|
||||
children: [
|
||||
text20400white(
|
||||
'What are your interests?'),
|
||||
// sizedBoxHeight(5.w),
|
||||
|
||||
_isFirstSelectionActive
|
||||
? text13400A7A7A7(
|
||||
'Select your secondary interests')
|
||||
: text13400A7A7A7(
|
||||
'Select your primary interest'),
|
||||
|
||||
// Container(
|
||||
// width: 154.w,
|
||||
// decoration: const ShapeDecoration(
|
||||
// shape: RoundedRectangleBorder(
|
||||
// side: BorderSide(
|
||||
// width: 1,
|
||||
// strokeAlign:
|
||||
// BorderSide.strokeAlignCenter,
|
||||
// color: Color(0xFF858585),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
sizedBoxHeight(30.h),
|
||||
GridView.builder(
|
||||
physics: const ScrollPhysics(),
|
||||
shrinkWrap: true,
|
||||
gridDelegate:
|
||||
SliverGridDelegateWithFixedCrossAxisCount(
|
||||
crossAxisCount:
|
||||
3, // Number of items in each row
|
||||
crossAxisSpacing: 12
|
||||
.w, // Horizontal spacing between items
|
||||
mainAxisSpacing: 12
|
||||
.h, // Vertical spacing between items
|
||||
),
|
||||
itemCount:
|
||||
indiactivityobj!.data!.length,
|
||||
itemBuilder: (context, index) {
|
||||
return ActivityContainer(
|
||||
index: indiactivityobj!
|
||||
.data![index].id!,
|
||||
titleString: indiactivityobj!
|
||||
.data![index].name!,
|
||||
image: indiactivityobj!
|
||||
.data![index].image,
|
||||
// 'assets/images/svg/individualact7.svg',
|
||||
isSelected: _selectedIndices
|
||||
.contains(indiactivityobj!
|
||||
.data![index].id!),
|
||||
gradientColor: _getGradientColor(
|
||||
indiactivityobj!
|
||||
.data![index].id!),
|
||||
onTap: _onContainerTap,
|
||||
);
|
||||
},
|
||||
),
|
||||
|
||||
sizedBoxHeight(30.h),
|
||||
// text20400FCFCFC("Add other activity"),
|
||||
// sizedBoxHeight(25.h),
|
||||
// CustomTextFormField(
|
||||
// textEditingController:
|
||||
// otheractivitycontroller,
|
||||
// texttype: TextInputType.text,
|
||||
// hintText: "Enter other activity",
|
||||
// // leadingIcon:
|
||||
// // // const Icon(Icons.mail_outline),
|
||||
// // Image.asset(
|
||||
// // width: 22.w,
|
||||
// // height: 17.h,
|
||||
// // 'assets/images/png/user.png',
|
||||
// // ),
|
||||
// // validatorText: "Enter your full name",
|
||||
// validator: (value) {
|
||||
// if (value!.isEmpty) {
|
||||
// return 'Enter your full name ';
|
||||
// }
|
||||
// return null;
|
||||
// },
|
||||
// inputFormatters: [
|
||||
// // LengthLimitingTextInputFormatter(20),
|
||||
// RemoveEmojiInputFormatter(),
|
||||
// FilteringTextInputFormatter.allow(
|
||||
// RegExp('[a-zA-Z ]'))
|
||||
// ],
|
||||
// ),
|
||||
|
||||
sizedBoxHeight(35.h),
|
||||
],
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
},
|
||||
],
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
//
|
||||
),
|
||||
);
|
||||
floatingActionButton: Stack(
|
||||
alignment: Alignment.center,
|
||||
clipBehavior: Clip.none, // Ensure the Positioned widget is visible
|
||||
children: [
|
||||
FloatingActionButton(
|
||||
onPressed: () {
|
||||
interestdialogwidget();
|
||||
},
|
||||
backgroundColor: const Color(0xFFD90B2E),
|
||||
autofocus: true,
|
||||
shape: const CircleBorder(),
|
||||
child: Icon(
|
||||
Icons.add,
|
||||
color: Colors.white,
|
||||
size: 27.sp,
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
right: 60.w,
|
||||
child: Container(
|
||||
width: 212.w,
|
||||
height: 35.h,
|
||||
decoration: BoxDecoration(
|
||||
color: Color(0xFF363636),
|
||||
borderRadius: BorderRadius.circular(20),
|
||||
border:
|
||||
Border.all(color: Color(0xFFD90B2E), width: 1.w)),
|
||||
child: Center(
|
||||
child: text16400white("Can’t find your interest"))),
|
||||
)
|
||||
],
|
||||
),
|
||||
));
|
||||
}
|
||||
|
||||
Widget _buildNoDataBody(context) {
|
||||
@@ -420,6 +432,108 @@ class _SelectIndividualActivityState extends State<SelectIndividualActivity> {
|
||||
}
|
||||
}
|
||||
|
||||
interestdialogwidget() {
|
||||
Get.dialog(Dialog(
|
||||
// backgroundColor: Colors.transparent,
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(10.r),
|
||||
color: const Color(0xFF222935)),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.only(
|
||||
right: 16.w, left: 16.w, top: 20.h, bottom: 40.h),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Row(
|
||||
children: [
|
||||
Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/x-circle.png",
|
||||
height: 28.h,
|
||||
width: 28.w,
|
||||
)
|
||||
],
|
||||
),
|
||||
text16w700_FCFCFC("Suggest interest"),
|
||||
sizedBoxHeight(16.h),
|
||||
Center(
|
||||
child: CustomTextFormField(
|
||||
hintText: "Please type your interest",
|
||||
)),
|
||||
sizedBoxHeight(10.h),
|
||||
text10w400_FCFCFC_blur("We will surely make this happen"),
|
||||
sizedBoxHeight(20.h),
|
||||
Align(
|
||||
alignment: Alignment.center,
|
||||
child: SizedBox(
|
||||
width: 177.w,
|
||||
child: CommonBtn(
|
||||
text: "Suggest",
|
||||
onTap: () {
|
||||
Get.back();
|
||||
thankdialogwidget();
|
||||
})),
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
));
|
||||
}
|
||||
|
||||
thankdialogwidget() {
|
||||
Get.dialog(Dialog(
|
||||
// backgroundColor: Colors.transparent,
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(10.r),
|
||||
color: const Color(0xFF222935)),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.only(
|
||||
right: 16.w, left: 16.w, top: 20.h, bottom: 40.h),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
Row(
|
||||
children: [
|
||||
Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/x-circle.png",
|
||||
height: 28.h,
|
||||
width: 28.w,
|
||||
)
|
||||
],
|
||||
),
|
||||
Image.asset(
|
||||
"assets/images/png/correct 1.png",
|
||||
height: 72.h,
|
||||
width: 72.w,
|
||||
),
|
||||
sizedBoxHeight(20.h),
|
||||
text16w700_FCFCFC(
|
||||
"Thank You! \n for adding one more to the club",
|
||||
textAlign: TextAlign.center),
|
||||
sizedBoxHeight(16.h),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
));
|
||||
}
|
||||
|
||||
class ActivityContainer extends StatelessWidget {
|
||||
final int index;
|
||||
final String titleString;
|
||||
@@ -449,19 +563,32 @@ class ActivityContainer extends StatelessWidget {
|
||||
begin: const Alignment(0.98, -0.21),
|
||||
end: const Alignment(-0.98, 0.21),
|
||||
colors: isSelected
|
||||
? [
|
||||
gradientColor.withOpacity(0.80),
|
||||
gradientColor.withOpacity(0.77),
|
||||
gradientColor.withOpacity(0.66),
|
||||
gradientColor.withOpacity(0.18),
|
||||
]
|
||||
? _firstSelectedIndex == index &&
|
||||
_isFirstSelectionActive == true
|
||||
? [
|
||||
gradientColor.withOpacity(0.80),
|
||||
gradientColor.withOpacity(0.77),
|
||||
Color(0xFF009DAB).withOpacity(0.66),
|
||||
Color(0xFF009DAB).withOpacity(0.18),
|
||||
]
|
||||
: [
|
||||
Colors.white.withOpacity(0.06),
|
||||
Colors.white.withOpacity(0.08),
|
||||
]
|
||||
: [
|
||||
Colors.white.withOpacity(0.06),
|
||||
Colors.white.withOpacity(0.08),
|
||||
],
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
side: const BorderSide(width: 1, color: Color(0xFF434A53)),
|
||||
side: isSelected
|
||||
? _firstSelectedIndex == index &&
|
||||
_isFirstSelectionActive == true
|
||||
? BorderSide(width: 1.w, color: Color(0xFF434A53))
|
||||
: BorderSide(width: 3.w, color: gradientColor)
|
||||
: BorderSide(width: 3.w, color: gradientColor),
|
||||
|
||||
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -2,13 +2,14 @@ import 'dart:async';
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:glassmorphism/glassmorphism.dart';
|
||||
import 'package:regroup/Common/CommonButton.dart';
|
||||
import 'package:regroup/Common/base_manager.dart';
|
||||
import 'package:regroup/Utils/Common/CustomNextButton.dart';
|
||||
import 'package:regroup/Utils/Common/CustomTextformfield.dart';
|
||||
import 'package:regroup/Utils/Common/blureffect.dart';
|
||||
|
||||
import 'package:regroup/Utils/Common/sized_box.dart';
|
||||
import 'package:regroup/Utils/dialogs.dart';
|
||||
import 'package:regroup/Utils/texts.dart';
|
||||
@@ -67,7 +68,8 @@ class _SelectIndividualGroupState extends State<SelectIndividualGroup> {
|
||||
if (data.status == ResponseStatus.SUCCESS) {
|
||||
Get.back();
|
||||
print("groups selected");
|
||||
Get.toNamed(RouteName.individualcommunitystep4);
|
||||
// Get.toNamed(RouteName.individualcommunitystep4);
|
||||
Get.toNamed(RouteName.communitycommitscreen);
|
||||
|
||||
return utils.showToast(data.message);
|
||||
} else {
|
||||
@@ -82,7 +84,7 @@ class _SelectIndividualGroupState extends State<SelectIndividualGroup> {
|
||||
return GestureDetector(
|
||||
onTap: () => FocusManager.instance.primaryFocus?.unfocus(),
|
||||
child: Scaffold(
|
||||
backgroundColor: Color.fromARGB(255, 18, 32, 47),
|
||||
backgroundColor: const Color.fromARGB(255, 18, 32, 47),
|
||||
body: Stack(
|
||||
children: [
|
||||
Container(
|
||||
@@ -117,14 +119,15 @@ class _SelectIndividualGroupState extends State<SelectIndividualGroup> {
|
||||
sizedBoxHeight(30.h),
|
||||
Align(
|
||||
alignment: Alignment.center,
|
||||
child: text16400white('Step 2 of 3')),
|
||||
child: text16400white('Step 3 of 3')),
|
||||
sizedBoxHeight(20.h),
|
||||
Container(
|
||||
width: double.infinity,
|
||||
height: 25.h,
|
||||
decoration: ShapeDecoration(
|
||||
shape: RoundedRectangleBorder(
|
||||
side: BorderSide(width: 1, color: Color(0xFF434A53)),
|
||||
side: const BorderSide(
|
||||
width: 1, color: Color(0xFF434A53)),
|
||||
borderRadius: BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
@@ -133,45 +136,47 @@ class _SelectIndividualGroupState extends State<SelectIndividualGroup> {
|
||||
horizontal: 8.w, vertical: 2.h),
|
||||
child: Row(
|
||||
children: [
|
||||
Container(
|
||||
width: 216.w,
|
||||
height: 15.h,
|
||||
decoration: ShapeDecoration(
|
||||
gradient: LinearGradient(
|
||||
begin: Alignment(0.98, -0.21),
|
||||
end: Alignment(-0.98, 0.21),
|
||||
colors: [
|
||||
Color(0xA5D90B2E),
|
||||
Color(0x42D90B2E)
|
||||
Expanded(
|
||||
child: Container(
|
||||
// width: 216.w,
|
||||
height: 15.h,
|
||||
decoration: ShapeDecoration(
|
||||
gradient: const LinearGradient(
|
||||
begin: Alignment(0.98, -0.21),
|
||||
end: Alignment(-0.98, 0.21),
|
||||
colors: [
|
||||
Color(0xA5D90B2E),
|
||||
Color(0x42D90B2E)
|
||||
],
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
Container(
|
||||
width: 15,
|
||||
height: 15,
|
||||
decoration: ShapeDecoration(
|
||||
gradient: const LinearGradient(
|
||||
begin: Alignment(0.98, -0.21),
|
||||
end: Alignment(-0.98, 0.21),
|
||||
colors: [
|
||||
Color(0xFFD90B2E),
|
||||
Color(0x60D90B2E)
|
||||
],
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius:
|
||||
BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
Container(
|
||||
width: 15,
|
||||
height: 15,
|
||||
decoration: ShapeDecoration(
|
||||
gradient: LinearGradient(
|
||||
begin: Alignment(0.98, -0.21),
|
||||
end: Alignment(-0.98, 0.21),
|
||||
colors: [
|
||||
Color(0xFFD90B2E),
|
||||
Color(0x60D90B2E)
|
||||
],
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius:
|
||||
BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
)
|
||||
],
|
||||
))
|
||||
)),
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -183,14 +188,19 @@ class _SelectIndividualGroupState extends State<SelectIndividualGroup> {
|
||||
children: [
|
||||
text20400white('Find your group'),
|
||||
sizedBoxWidth(5.w),
|
||||
Image.asset('assets/images/png/informationicon.png')
|
||||
InkWell(
|
||||
onTap: () {
|
||||
groupBottomsheet();
|
||||
},
|
||||
child: Image.asset(
|
||||
'assets/images/png/informationicon.png'))
|
||||
],
|
||||
)),
|
||||
sizedBoxHeight(10.w),
|
||||
Center(
|
||||
child: Container(
|
||||
width: 108.w,
|
||||
decoration: ShapeDecoration(
|
||||
decoration: const ShapeDecoration(
|
||||
shape: RoundedRectangleBorder(
|
||||
side: BorderSide(
|
||||
width: 1,
|
||||
@@ -215,7 +225,7 @@ class _SelectIndividualGroupState extends State<SelectIndividualGroup> {
|
||||
// ),
|
||||
Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w),
|
||||
child: Icon(
|
||||
child: const Icon(
|
||||
Icons.search,
|
||||
size: 35,
|
||||
color: Colors.white,
|
||||
@@ -241,13 +251,14 @@ class _SelectIndividualGroupState extends State<SelectIndividualGroup> {
|
||||
if (snapshot.connectionState ==
|
||||
ConnectionState.waiting) {
|
||||
// Display shimmer effect while waiting for data
|
||||
return Center(child: CircularProgressIndicator());
|
||||
return const Center(
|
||||
child: CircularProgressIndicator());
|
||||
} else if (snapshot.hasError) {
|
||||
// Handle error state
|
||||
return Center(
|
||||
child: Text(
|
||||
'${snapshot.error} occurred',
|
||||
style: TextStyle(fontSize: 18),
|
||||
style: const TextStyle(fontSize: 18),
|
||||
),
|
||||
);
|
||||
} else {
|
||||
@@ -256,9 +267,9 @@ class _SelectIndividualGroupState extends State<SelectIndividualGroup> {
|
||||
? _buildNoDataBody(context)
|
||||
: Expanded(
|
||||
child: GridView.builder(
|
||||
physics: ScrollPhysics(),
|
||||
physics: const ScrollPhysics(),
|
||||
gridDelegate:
|
||||
SliverGridDelegateWithFixedCrossAxisCount(
|
||||
const SliverGridDelegateWithFixedCrossAxisCount(
|
||||
crossAxisCount: 2,
|
||||
crossAxisSpacing: 12.0,
|
||||
mainAxisSpacing: 12.0,
|
||||
@@ -328,6 +339,53 @@ class _SelectIndividualGroupState extends State<SelectIndividualGroup> {
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
void groupBottomsheet() {
|
||||
Get.bottomSheet(
|
||||
isScrollControlled: true,
|
||||
Container(
|
||||
// height: 700.h,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(14.r),
|
||||
color: const Color(0xFF222935)),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w, vertical: 20.h),
|
||||
child: Column(mainAxisSize: MainAxisSize.min, children: [
|
||||
// sizedBoxHeight(20.h),
|
||||
Row(
|
||||
children: [
|
||||
Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/x-circle.png",
|
||||
height: 28.h,
|
||||
width: 28.w,
|
||||
),
|
||||
],
|
||||
),
|
||||
Image.asset(
|
||||
"assets/images/png/Group 1000004385.png",
|
||||
height: 185.h,
|
||||
width: 185.w,
|
||||
),
|
||||
|
||||
sizedBoxHeight(20.h),
|
||||
text16w400_FCFCFC(
|
||||
'''Use this screen to find specific groups within your area. Groups span any club, society or hobbyist group e.g. sports clubs, social clubs, service clubs, musical groups or voluntary societies. If you are still exploring your options, you can skip this step. You can always join or create new groups later.''',
|
||||
textAlign: TextAlign.center),
|
||||
sizedBoxHeight(20.h),
|
||||
|
||||
SizedBox(
|
||||
width: 239.w,
|
||||
child: CommonBtn(
|
||||
text: "Understood",
|
||||
onTap: () {
|
||||
Get.back();
|
||||
},
|
||||
)),
|
||||
|
||||
// sizedBoxHeight(40.h)
|
||||
]))));
|
||||
}
|
||||
}
|
||||
|
||||
class GroupSelect extends StatelessWidget {
|
||||
@@ -348,13 +406,13 @@ class GroupSelect extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
|
||||
return Column(crossAxisAlignment: CrossAxisAlignment.center, children: [
|
||||
Container(
|
||||
width: 169,
|
||||
height: 74,
|
||||
width: 72.w,
|
||||
height: 72.h,
|
||||
decoration: ShapeDecoration(
|
||||
image: image == null || image!.isEmpty
|
||||
? DecorationImage(
|
||||
? const DecorationImage(
|
||||
image: AssetImage("assets/images/png/groupindividual3.png"),
|
||||
fit: BoxFit.fill,
|
||||
)
|
||||
@@ -362,26 +420,42 @@ class GroupSelect extends StatelessWidget {
|
||||
image: NetworkImage(image!),
|
||||
fit: BoxFit.fill,
|
||||
),
|
||||
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(5)),
|
||||
shape:
|
||||
RoundedRectangleBorder(borderRadius: BorderRadius.circular(100)),
|
||||
),
|
||||
),
|
||||
SizedBox(height: 15.0),
|
||||
const SizedBox(height: 15.0),
|
||||
Text(
|
||||
titleString,
|
||||
style: TextStyle(
|
||||
style: const TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 12.0,
|
||||
overflow: TextOverflow.ellipsis),
|
||||
),
|
||||
SizedBox(height: 15.0),
|
||||
const SizedBox(height: 15.0),
|
||||
GestureDetector(
|
||||
onTap: () => onTap(index),
|
||||
child: Container(
|
||||
width: 169,
|
||||
height: 23,
|
||||
width: 169.w,
|
||||
height: 23.h,
|
||||
decoration: ShapeDecoration(
|
||||
gradient: isSelected
|
||||
? LinearGradient(colors: [
|
||||
Color(0xFFD90B2E),
|
||||
Color(0xFFD90B2E),
|
||||
])
|
||||
: LinearGradient(
|
||||
begin: Alignment(0.98, -0.21),
|
||||
end: Alignment(-0.98, 0.21),
|
||||
colors: [
|
||||
Colors.white.withOpacity(0.04),
|
||||
Colors.white.withOpacity(0.05)
|
||||
],
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
side: BorderSide(width: 1, color: Color(0xFFFF002B)),
|
||||
side: isSelected
|
||||
? BorderSide(width: 1.w, color: Colors.transparent)
|
||||
: BorderSide(width: 1.w, color: Color(0xFF434A53)),
|
||||
borderRadius: BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
@@ -389,10 +463,8 @@ class GroupSelect extends StatelessWidget {
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
isSelected
|
||||
? Text('Regrouping',
|
||||
style: TextStyle(color: Colors.white, fontSize: 10.0))
|
||||
: Text('Join',
|
||||
style: TextStyle(color: Colors.white, fontSize: 10.0))
|
||||
? text10400white("Leave group")
|
||||
: text10400white("Join")
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -2,13 +2,13 @@ import 'dart:async';
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:glassmorphism/glassmorphism.dart';
|
||||
import 'package:regroup/Common/CommonButton.dart';
|
||||
import 'package:regroup/Common/base_manager.dart';
|
||||
import 'package:regroup/Utils/Common/CustomNextButton.dart';
|
||||
import 'package:regroup/Utils/Common/CustomTextformfield.dart';
|
||||
import 'package:regroup/Utils/Common/blureffect.dart';
|
||||
import 'package:regroup/Utils/Common/sized_box.dart';
|
||||
import 'package:regroup/Utils/dialogs.dart';
|
||||
import 'package:regroup/Utils/texts.dart';
|
||||
@@ -68,7 +68,9 @@ class _SelectIndividualCommunityState extends State<SelectIndividualCommunity> {
|
||||
if (data.status == ResponseStatus.SUCCESS) {
|
||||
// Get.back();
|
||||
print("groups selected");
|
||||
Get.toNamed(RouteName.communitycommitscreen);
|
||||
// Get.toNamed(RouteName.communitycommitscreen);
|
||||
Get.toNamed(RouteName.individualgroupstep3);
|
||||
|
||||
|
||||
return utils.showToast(data.message);
|
||||
} else {
|
||||
@@ -118,14 +120,15 @@ class _SelectIndividualCommunityState extends State<SelectIndividualCommunity> {
|
||||
sizedBoxHeight(30.h),
|
||||
Align(
|
||||
alignment: Alignment.center,
|
||||
child: text16400white('Step 3 of 3')),
|
||||
child: text16400white('Step 2 of 3')),
|
||||
sizedBoxHeight(20.h),
|
||||
Container(
|
||||
width: double.infinity,
|
||||
height: 25.h,
|
||||
decoration: ShapeDecoration(
|
||||
shape: RoundedRectangleBorder(
|
||||
side: const BorderSide(width: 1, color: Color(0xFF434A53)),
|
||||
side: const BorderSide(
|
||||
width: 1, color: Color(0xFF434A53)),
|
||||
borderRadius: BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
@@ -134,46 +137,45 @@ class _SelectIndividualCommunityState extends State<SelectIndividualCommunity> {
|
||||
horizontal: 8.w, vertical: 2.h),
|
||||
child: Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: Container(
|
||||
// width: 216.w,
|
||||
height: 15.h,
|
||||
decoration: ShapeDecoration(
|
||||
gradient: const LinearGradient(
|
||||
begin: Alignment(0.98, -0.21),
|
||||
end: Alignment(-0.98, 0.21),
|
||||
colors: [
|
||||
Color(0xA5D90B2E),
|
||||
Color(0x42D90B2E)
|
||||
],
|
||||
Container(
|
||||
width: 170.w,
|
||||
height: 15.h,
|
||||
decoration: ShapeDecoration(
|
||||
gradient: const LinearGradient(
|
||||
begin: Alignment(0.98, -0.21),
|
||||
end: Alignment(-0.98, 0.21),
|
||||
colors: [
|
||||
Color(0xA5D90B2E),
|
||||
Color(0x42D90B2E)
|
||||
],
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
Container(
|
||||
width: 15,
|
||||
height: 15,
|
||||
decoration: ShapeDecoration(
|
||||
gradient: const LinearGradient(
|
||||
begin: Alignment(0.98, -0.21),
|
||||
end: Alignment(-0.98, 0.21),
|
||||
colors: [
|
||||
Color(0xFFD90B2E),
|
||||
Color(0x60D90B2E)
|
||||
],
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius:
|
||||
BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
Container(
|
||||
width: 15,
|
||||
height: 15,
|
||||
decoration: ShapeDecoration(
|
||||
gradient: const LinearGradient(
|
||||
begin: Alignment(0.98, -0.21),
|
||||
end: Alignment(-0.98, 0.21),
|
||||
colors: [
|
||||
Color(0xFFD90B2E),
|
||||
Color(0x60D90B2E)
|
||||
],
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius:
|
||||
BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
)
|
||||
],
|
||||
)))
|
||||
)
|
||||
],
|
||||
))
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -185,8 +187,13 @@ class _SelectIndividualCommunityState extends State<SelectIndividualCommunity> {
|
||||
children: [
|
||||
text20400white('Find your community'),
|
||||
sizedBoxWidth(5.w),
|
||||
Image.asset(
|
||||
'assets/images/png/informationicon.png',
|
||||
InkWell(
|
||||
onTap: () {
|
||||
communityBottomsheet();
|
||||
},
|
||||
child: Image.asset(
|
||||
'assets/images/png/informationicon.png',
|
||||
),
|
||||
)
|
||||
],
|
||||
)),
|
||||
@@ -244,7 +251,8 @@ class _SelectIndividualCommunityState extends State<SelectIndividualCommunity> {
|
||||
if (snapshot.connectionState ==
|
||||
ConnectionState.waiting) {
|
||||
// Display shimmer effect while waiting for data
|
||||
return const Center(child: CircularProgressIndicator());
|
||||
return const Center(
|
||||
child: CircularProgressIndicator());
|
||||
} else if (snapshot.hasError) {
|
||||
// Handle error state
|
||||
return Center(
|
||||
@@ -333,6 +341,56 @@ class _SelectIndividualCommunityState extends State<SelectIndividualCommunity> {
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
void communityBottomsheet() {
|
||||
Get.bottomSheet(
|
||||
isScrollControlled: true,
|
||||
Container(
|
||||
// height: 700.h,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(14.r),
|
||||
color: const Color(0xFF222935)),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w, vertical: 20.h),
|
||||
child: Column(mainAxisSize: MainAxisSize.min, children: [
|
||||
// sizedBoxHeight(20.h),
|
||||
Row(
|
||||
children: [
|
||||
Spacer(),
|
||||
Image.asset(
|
||||
"assets/images/png/x-circle.png",
|
||||
height: 28.h,
|
||||
width: 28.w,
|
||||
),
|
||||
],
|
||||
),
|
||||
Image.asset(
|
||||
"assets/images/png/Connected world-amico 1.png",
|
||||
height: 185.h,
|
||||
width: 185.w,
|
||||
),
|
||||
|
||||
sizedBoxHeight(20.h),
|
||||
text16w400_FCFCFC(
|
||||
'''Use this screen to find interesting communities near you. Communities are
|
||||
a collection of groups, individuals and businesses that share common interests. e.g. 'London football clubs' or 'Cambridge rowing clubs'. If you aren't sure of which communities you'd like to be a part of or already know the specific club you'd like to join, you can skip this step. Don't worry, you can always join new communities later.''',
|
||||
textAlign: TextAlign.center),
|
||||
sizedBoxHeight(20.h),
|
||||
|
||||
SizedBox(
|
||||
width: 239.w,
|
||||
child: CommonBtn(
|
||||
text: "Understood",
|
||||
onTap: () {
|
||||
Get.back();
|
||||
},
|
||||
)),
|
||||
|
||||
// sizedBoxHeight(40.h)
|
||||
]))));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
class CommunitySelect extends StatelessWidget {
|
||||
@@ -355,8 +413,8 @@ class CommunitySelect extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return Column(crossAxisAlignment: CrossAxisAlignment.center, children: [
|
||||
Container(
|
||||
width: 73.w,
|
||||
height: 73.h,
|
||||
width: 170.w,
|
||||
height: 74.h,
|
||||
decoration: ShapeDecoration(
|
||||
image: image == null || image!.isEmpty
|
||||
? const DecorationImage(
|
||||
@@ -368,7 +426,7 @@ class CommunitySelect extends StatelessWidget {
|
||||
fit: BoxFit.fill,
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
borderRadius: BorderRadius.circular(5.r),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -384,11 +442,26 @@ class CommunitySelect extends StatelessWidget {
|
||||
GestureDetector(
|
||||
onTap: () => onTap(index),
|
||||
child: Container(
|
||||
width: 169,
|
||||
height: 23,
|
||||
width: 169.w,
|
||||
height: 23.h,
|
||||
decoration: ShapeDecoration(
|
||||
gradient: isSelected
|
||||
? LinearGradient(colors: [
|
||||
Color(0xFFD90B2E),
|
||||
Color(0xFFD90B2E),
|
||||
])
|
||||
: LinearGradient(
|
||||
begin: Alignment(0.98, -0.21),
|
||||
end: Alignment(-0.98, 0.21),
|
||||
colors: [
|
||||
Colors.white.withOpacity(0.04),
|
||||
Colors.white.withOpacity(0.05)
|
||||
],
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
side: const BorderSide(width: 1, color: Color(0xFFFF002B)),
|
||||
side: isSelected
|
||||
? BorderSide(width: 1.w, color: Colors.transparent)
|
||||
: BorderSide(width: 1.w, color: Color(0xFF434A53)),
|
||||
borderRadius: BorderRadius.circular(30),
|
||||
),
|
||||
),
|
||||
@@ -396,10 +469,8 @@ class CommunitySelect extends StatelessWidget {
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
isSelected
|
||||
? const Text('Regrouping',
|
||||
style: TextStyle(color: Colors.white, fontSize: 10.0))
|
||||
: const Text('Join',
|
||||
style: TextStyle(color: Colors.white, fontSize: 10.0))
|
||||
? text10400white("Leave community")
|
||||
: text10400white("Join")
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -154,7 +154,7 @@ class _TellusaboutIndividualState extends State<TellusaboutIndividual> {
|
||||
Get.toNamed(RouteName.individualactivitystep2);
|
||||
} else {
|
||||
Get.back();
|
||||
utils.showToast(data.message);
|
||||
utils.showToast(data.message);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -162,14 +162,11 @@ class _TellusaboutIndividualState extends State<TellusaboutIndividual> {
|
||||
Widget build(BuildContext context) {
|
||||
return WillPopScope(
|
||||
onWillPop: () async {
|
||||
SystemNavigator.pop();
|
||||
SystemNavigator.pop();
|
||||
// Navigator.pop(context);
|
||||
|
||||
|
||||
return true;
|
||||
|
||||
},
|
||||
|
||||
child: GestureDetector(
|
||||
onTap: () => FocusManager.instance.primaryFocus?.unfocus(),
|
||||
child: Scaffold(
|
||||
@@ -179,7 +176,8 @@ class _TellusaboutIndividualState extends State<TellusaboutIndividual> {
|
||||
Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage("assets/images/png/Ellipse 1496.png"),
|
||||
image:
|
||||
AssetImage("assets/images/png/Ellipse 1496.png"),
|
||||
fit: BoxFit.fill)),
|
||||
),
|
||||
ListView(physics: const ScrollPhysics(), children: [
|
||||
@@ -319,7 +317,8 @@ class _TellusaboutIndividualState extends State<TellusaboutIndividual> {
|
||||
inputFormatters: [
|
||||
// LengthLimitingTextInputFormatter(20),
|
||||
RemoveEmojiInputFormatter(),
|
||||
FilteringTextInputFormatter.allow(RegExp('[a-zA-Z ]'))
|
||||
FilteringTextInputFormatter.allow(
|
||||
RegExp('[a-zA-Z ]'))
|
||||
],
|
||||
),
|
||||
sizedBoxHeight(10.h),
|
||||
@@ -346,7 +345,8 @@ class _TellusaboutIndividualState extends State<TellusaboutIndividual> {
|
||||
inputFormatters: [
|
||||
// LengthLimitingTextInputFormatter(20),
|
||||
RemoveEmojiInputFormatter(),
|
||||
FilteringTextInputFormatter.allow(RegExp('[a-zA-Z ]'))
|
||||
FilteringTextInputFormatter.allow(
|
||||
RegExp('[a-zA-ZS0-9 ]')),
|
||||
],
|
||||
),
|
||||
sizedBoxHeight(10.h),
|
||||
@@ -416,7 +416,8 @@ class _TellusaboutIndividualState extends State<TellusaboutIndividual> {
|
||||
inputFormatters: [
|
||||
// LengthLimitingTextInputFormatter(20),
|
||||
RemoveEmojiInputFormatter(),
|
||||
FilteringTextInputFormatter.allow(RegExp('[a-zA-Z ]'))
|
||||
FilteringTextInputFormatter.allow(
|
||||
RegExp('[a-zA-Z ]'))
|
||||
],
|
||||
),
|
||||
sizedBoxHeight(20.h),
|
||||
@@ -435,7 +436,7 @@ class _TellusaboutIndividualState extends State<TellusaboutIndividual> {
|
||||
}
|
||||
// if (_selectedgendertype.isNotEmpty) {
|
||||
// Get.toNamed(RouteName.individualprofilestep1);
|
||||
|
||||
|
||||
// // Get.to(() => BusinessPage());
|
||||
// } else {
|
||||
// // Handle case where no selection is made
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:glassmorphism/glassmorphism.dart';
|
||||
import 'package:regroup/Utils/Common/CustomNextButton.dart';
|
||||
import 'package:regroup/Utils/Common/blureffect.dart';
|
||||
|
||||
import 'package:regroup/Utils/Common/sized_box.dart';
|
||||
import 'package:regroup/Utils/texts.dart';
|
||||
import 'package:regroup/resources/routes/route_name.dart';
|
||||
@@ -107,7 +107,8 @@ class _CommunitycommitmentState extends State<Communitycommitment> {
|
||||
CustomButton2(
|
||||
text: 'Decline',
|
||||
onPressed: () {
|
||||
Get.offAllNamed(RouteName.loginScreen);
|
||||
alertdialogwidget();
|
||||
// Get.offAllNamed(RouteName.loginScreen);
|
||||
})
|
||||
],
|
||||
),
|
||||
@@ -115,4 +116,130 @@ class _CommunitycommitmentState extends State<Communitycommitment> {
|
||||
],
|
||||
));
|
||||
}
|
||||
|
||||
alertdialogwidget() {
|
||||
Get.dialog(Dialog(
|
||||
// backgroundColor: Colors.transparent,
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(10.r),
|
||||
color: const Color(0xFF222935)),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.only(
|
||||
right: 16.w, left: 16.w, top: 20.h, bottom: 40.h),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
text16w400_FCFCFC("Are you sure you don’t want to be \nNice?",
|
||||
textAlign: TextAlign.center),
|
||||
sizedBoxHeight(16.h),
|
||||
Row(
|
||||
children: [
|
||||
InkWell(
|
||||
onTap: () {
|
||||
Get.back();
|
||||
dialogwidget();
|
||||
|
||||
Future.delayed(Duration(seconds: 2), () {
|
||||
Get.back();
|
||||
Get.toNamed(RouteName.signupendpage);
|
||||
});
|
||||
},
|
||||
child: Container(
|
||||
// width: 120.w,
|
||||
height: 40.h,
|
||||
decoration: BoxDecoration(
|
||||
gradient: LinearGradient(
|
||||
begin: Alignment.centerLeft,
|
||||
end: Alignment.centerRight,
|
||||
colors: [
|
||||
Color.fromRGBO(255, 255, 255, 0.036),
|
||||
Color.fromRGBO(255, 255, 255, 0.048),
|
||||
],
|
||||
),
|
||||
border: Border.all(
|
||||
color: Color(0xFF434A53),
|
||||
width: 1.0,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(30.r)),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
||||
child:
|
||||
Center(child: text14400white("Yes, I am evil")),
|
||||
),
|
||||
),
|
||||
),
|
||||
Spacer(),
|
||||
GestureDetector(
|
||||
onTap: () {
|
||||
Get.toNamed(RouteName.signupendpage);
|
||||
},
|
||||
child: Container(
|
||||
// height: 40.h,
|
||||
// width: 120.w,
|
||||
decoration: BoxDecoration(
|
||||
color: Color(0xFFD90B2E),
|
||||
borderRadius: BorderRadius.circular(30.r),
|
||||
),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 20.w),
|
||||
child: Center(
|
||||
child: text14w400_FCFCFC(
|
||||
"No, I want \nto be Nice")),
|
||||
),
|
||||
),
|
||||
)
|
||||
],
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
));
|
||||
}
|
||||
|
||||
dialogwidget() {
|
||||
Get.dialog(Dialog(
|
||||
// backgroundColor: Colors.transparent,
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(10.r),
|
||||
color: const Color(0xFF222935)),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.only(
|
||||
right: 80.w, left: 80.w, top: 20.h, bottom: 40.h),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
Image.asset(
|
||||
"assets/images/png/Group 1000004420.png",
|
||||
height: 66.h,
|
||||
width: 66.w,
|
||||
),
|
||||
sizedBoxHeight(14.w),
|
||||
SizedBox(
|
||||
width: 182.w,
|
||||
child: text16w400_FCFCFC(
|
||||
"Nah, I know you’re nice person...",
|
||||
textAlign: TextAlign.center),
|
||||
),
|
||||
sizedBoxHeight(16.h),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,54 +27,40 @@ class _SignupendPageState extends State<SignupendPage> {
|
||||
fit: BoxFit.fill)),
|
||||
),
|
||||
Center(
|
||||
child: Container(
|
||||
width: 358.w,
|
||||
height: 519.h,
|
||||
decoration: ShapeDecoration(
|
||||
gradient: LinearGradient(
|
||||
begin: const Alignment(0.98, -0.21),
|
||||
end: const Alignment(-0.98, 0.21),
|
||||
colors: [
|
||||
Colors.white.withOpacity(0.05999999865889549),
|
||||
Colors.white.withOpacity(0.07999999821186066)
|
||||
],
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
side: const BorderSide(width: 0.80, color: Color(0xFF434A53)),
|
||||
borderRadius: BorderRadius.circular(5),
|
||||
),
|
||||
),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 30.h),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Image.asset('assets/images/png/regroupredtexticon.png'),
|
||||
sizedBoxHeight(30.h),
|
||||
text25700white('Welcome Edward '),
|
||||
sizedBoxHeight(20.h),
|
||||
// text16400white(
|
||||
// '''Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.'''),
|
||||
Text(
|
||||
'''Congratulations, your account has been successfully created. Get ready to regroup with your community''',
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
color: const Color(0xCCFCFCFC),
|
||||
fontSize: 16.sp,
|
||||
fontFamily: 'Helvetica',
|
||||
fontWeight: FontWeight.w400,
|
||||
),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 30.h),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Image.asset('assets/images/png/regroupredtexticon.png'),
|
||||
sizedBoxHeight(30.h),
|
||||
text25700white('Welcome Edward '),
|
||||
sizedBoxHeight(20.h),
|
||||
// text16400white(
|
||||
// '''Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.'''),
|
||||
SizedBox(
|
||||
width: 246.w,
|
||||
child: Text(
|
||||
'''Your account is now active. Welcome to the ReGroup community''',
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
color: const Color(0xCCFCFCFC),
|
||||
fontSize: 16.sp,
|
||||
fontFamily: 'Helvetica',
|
||||
fontWeight: FontWeight.w400,
|
||||
),
|
||||
sizedBoxHeight(20.h),
|
||||
CustomButton(
|
||||
text: "Let's begin",
|
||||
onPressed: () {
|
||||
Get.toNamed(RouteName.mainscreen);
|
||||
})
|
||||
],
|
||||
),
|
||||
),
|
||||
)),
|
||||
sizedBoxHeight(20.h),
|
||||
CustomButton(
|
||||
text: "Let's begin",
|
||||
onPressed: () {
|
||||
Get.toNamed(RouteName.mainscreen);
|
||||
})
|
||||
],
|
||||
),
|
||||
),
|
||||
)
|
||||
],
|
||||
));
|
||||
|
||||
@@ -2,12 +2,10 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:glassmorphism/glassmorphism.dart';
|
||||
import 'package:pin_code_fields/pin_code_fields.dart';
|
||||
import 'package:regroup/Common/base_manager.dart';
|
||||
import 'package:regroup/Utils/Common/CommonAppbar.dart';
|
||||
import 'package:regroup/Utils/Common/CustomNextButton.dart';
|
||||
import 'package:regroup/Utils/Common/blureffect.dart';
|
||||
import 'package:regroup/Utils/Common/sized_box.dart';
|
||||
import 'package:regroup/Utils/texts.dart';
|
||||
import 'package:regroup/onboarding/forgotPass/ViewModel/ForgotPassAPI.dart';
|
||||
@@ -87,45 +85,14 @@ TextEditingController? pincode = TextEditingController();
|
||||
),
|
||||
body: Stack(
|
||||
children: [
|
||||
// CommonBlurLeftSecond(),
|
||||
Positioned(top: 150, right: -30, child: CommonBlurRightSecond()),
|
||||
Positioned(top: 350, left: -30, child: CommonBlurLeftBlue()),
|
||||
GlassmorphicContainer(
|
||||
width: MediaQuery.of(context).size.width,
|
||||
height:
|
||||
// 500.h,
|
||||
MediaQuery.of(context).size.height,
|
||||
borderRadius: 2,
|
||||
blur: 6,
|
||||
alignment: Alignment.bottomLeft,
|
||||
border: 2,
|
||||
linearGradient: LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
Color(0XFF222935).withOpacity(0.60),
|
||||
Color(0XFF222935).withOpacity(0.60),
|
||||
Color(0XFF222935).withOpacity(0.60),
|
||||
Color(0XFF222935).withOpacity(0.60),
|
||||
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
],
|
||||
),
|
||||
borderGradient: LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
Color(0XFF222935).withOpacity(0.60),
|
||||
|
||||
Color(0XFF222935).withOpacity(0.60),
|
||||
],
|
||||
),
|
||||
child: Padding(
|
||||
Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage("assets/images/png/Ellipse 1496.png"),
|
||||
fit: BoxFit.fill)),
|
||||
),
|
||||
|
||||
Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
@@ -220,9 +187,9 @@ TextEditingController? pincode = TextEditingController();
|
||||
),
|
||||
],
|
||||
),
|
||||
)),
|
||||
],
|
||||
),
|
||||
);;
|
||||
)],),
|
||||
|
||||
);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -14,6 +14,8 @@ class RouteName {
|
||||
static const String individualactivitystep2 = '/individualactivitystep2';
|
||||
static const String individualgroupstep3 = '/individualgroupstep3';
|
||||
static const String individualcommunitystep4 = '/individualcommunitystep4';
|
||||
static const String findcommunitypage = '/findcommunitypage';
|
||||
|
||||
static const String communitycommitscreen = '/communitycommitscreen';
|
||||
static const String signupendpage = '/signupendpage';
|
||||
|
||||
|
||||
@@ -95,6 +95,7 @@ import 'package:regroup/onboarding/Signup/View/Business/View/step1Letusunderstan
|
||||
import 'package:regroup/onboarding/Signup/View/Business/View/step2Selectgroup.dart';
|
||||
import 'package:regroup/onboarding/Signup/View/Business/View/step3SelectCommunity.dart';
|
||||
import 'package:regroup/onboarding/Signup/View/Business/View/tellusbusiness.dart';
|
||||
import 'package:regroup/onboarding/Signup/View/Individual/FindCommunityPage.dart';
|
||||
import 'package:regroup/onboarding/Signup/View/Individual/step1Selectprofile.dart';
|
||||
import 'package:regroup/onboarding/Signup/View/Individual/step2Selectactivity.dart';
|
||||
import 'package:regroup/onboarding/Signup/View/Individual/step3Selectyourgroup.dart';
|
||||
@@ -207,6 +208,10 @@ class AppRoutes {
|
||||
GetPage(
|
||||
name: RouteName.individualcommunitystep4,
|
||||
page: () => const SelectIndividualCommunity(),
|
||||
),
|
||||
GetPage(
|
||||
name: RouteName.findcommunitypage,
|
||||
page: () => const FindCommunityPage(),
|
||||
),
|
||||
GetPage(
|
||||
name: RouteName.communitycommitscreen,
|
||||
|
||||
Reference in New Issue
Block a user