146 lines
5.8 KiB
Dart
146 lines
5.8 KiB
Dart
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/Common/CommonGlassmorphism.dart';
|
|
import 'package:regroup/Common/CommonWidget.dart';
|
|
import 'package:regroup/Utils/Common/CommonAppbar.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';
|
|
|
|
class GroupInfo extends StatefulWidget {
|
|
const GroupInfo({super.key});
|
|
|
|
@override
|
|
State<GroupInfo> createState() => _GroupInfoState();
|
|
}
|
|
|
|
class _GroupInfoState extends State<GroupInfo> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
// key: _scaffoldKey1,
|
|
backgroundColor: Color(0xFF222935),
|
|
extendBody: true,
|
|
appBar: CommonAppbar(
|
|
titleTxt: "Groups info",
|
|
),
|
|
body: Stack(children: [
|
|
const CommonBlurLeftRed(),
|
|
const CommonBlurRightRed(),
|
|
const CommonBlurLeft(),
|
|
const CommonBlurRight(),
|
|
Positioned.fill(
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
sizedBoxHeight(20.h),
|
|
Stack(clipBehavior: Clip.none, children: [
|
|
GestureDetector(
|
|
onTap: () {},
|
|
child: SizedBox(
|
|
height: 130.h,
|
|
width: double.infinity,
|
|
child: Image.asset(
|
|
"assets/images/png/group11.png",
|
|
fit: BoxFit.cover,
|
|
),
|
|
),
|
|
),
|
|
Positioned(
|
|
bottom: -35.h,
|
|
left: 20.w,
|
|
child: Container(
|
|
width: 85.r,
|
|
height: 85.r,
|
|
decoration: BoxDecoration(
|
|
shape: BoxShape.circle,
|
|
border: Border.all(
|
|
color: Colors.white,
|
|
width: 2,
|
|
),
|
|
boxShadow: [
|
|
BoxShadow(
|
|
color: Color.fromRGBO(0, 0, 0, 0.25),
|
|
blurRadius: 12,
|
|
offset: Offset(0, 6),
|
|
),
|
|
],
|
|
),
|
|
child: CircleAvatar(
|
|
radius: 42.5.r,
|
|
foregroundImage:
|
|
AssetImage("assets/images/png/group111.png"),
|
|
),
|
|
))
|
|
]),
|
|
sizedBoxHeight(60.h),
|
|
Padding(
|
|
padding: EdgeInsets.symmetric(horizontal: 16.w),
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
text20w700_FCFCFC("Iron titans fitness crew"),
|
|
sizedBoxHeight(10.h),
|
|
commonDivider(),
|
|
sizedBoxHeight(25.h),
|
|
text16w400_FCFCFC("About group"),
|
|
sizedBoxHeight(20.h),
|
|
text14w400_FCFCFCblur(
|
|
"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."),
|
|
sizedBoxHeight(30.h),
|
|
Row(
|
|
children: [
|
|
commonGlassContainer(
|
|
width: 35.w,
|
|
height: 35.h,
|
|
opacity1: 0.24,
|
|
opacity2: 0.24,
|
|
borderradius: 100,
|
|
customWidget: Center(
|
|
child: Image.asset(
|
|
"assets/images/png/Group 58645.png",
|
|
height: 17.h,
|
|
width: 13.w,
|
|
),
|
|
),
|
|
border: 0.5),
|
|
sizedBoxWidth(12.w),
|
|
text16400white("Elm street london, United Kingdom")
|
|
],
|
|
),
|
|
sizedBoxHeight(30.h),
|
|
Row(
|
|
children: [
|
|
commonGlassContainer(
|
|
width: 35.w,
|
|
height: 35.h,
|
|
opacity1: 0.24,
|
|
opacity2: 0.24,
|
|
borderradius: 100,
|
|
customWidget: Center(
|
|
child: Image.asset(
|
|
"assets/images/png/Vector2a.png",
|
|
height: 20.h,
|
|
width: 20.w,
|
|
),
|
|
),
|
|
border: 0.5),
|
|
sizedBoxWidth(12.w),
|
|
text16400white("www.exampledummywebsite.com")
|
|
],
|
|
),
|
|
sizedBoxHeight(50.h),
|
|
CommonBtn(text: "Connect with the community", onTap: () {
|
|
Get.toNamed(RouteName.connectcommunity);
|
|
},),
|
|
],
|
|
),
|
|
),
|
|
]))
|
|
]));
|
|
}
|
|
}
|