minor bug fix
This commit is contained in:
@@ -51,18 +51,18 @@ class _NotificationPageState extends State<NotificationPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
backgroundColor: Color.fromARGB(255, 18, 32, 47),
|
||||
appBar: CommonAppbar(
|
||||
backgroundColor: const Color.fromARGB(255, 18, 32, 47),
|
||||
appBar: const CommonAppbar(
|
||||
titleTxt: 'Notifications',
|
||||
),
|
||||
body: Stack(
|
||||
children: [
|
||||
// const CommonBlurLeftRed(),
|
||||
Positioned(top: 10, left: -30, child: CommonBlurLeftSecond()),
|
||||
const Positioned(top: 10, left: -30, child: CommonBlurLeftSecond()),
|
||||
// const CommonBlurRightRed(),
|
||||
// const CommonBlurLeft(),
|
||||
Positioned(top: 150, right: -30, child: CommonBlurRightSecond()),
|
||||
Positioned(top: 350, left: -30, child: CommonBlurLeftBlue()),
|
||||
const Positioned(top: 150, right: -30, child: CommonBlurRightSecond()),
|
||||
const Positioned(top: 350, left: -30, child: CommonBlurLeftBlue()),
|
||||
GlassmorphicContainer(
|
||||
width: MediaQuery.of(context).size.width,
|
||||
height:
|
||||
@@ -76,10 +76,10 @@ class _NotificationPageState extends State<NotificationPage> {
|
||||
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),
|
||||
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),
|
||||
@@ -93,9 +93,9 @@ class _NotificationPageState extends State<NotificationPage> {
|
||||
colors: [
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
// Color.fromARGB(255, 18, 32, 47).withOpacity(0.50),
|
||||
Color(0XFF222935).withOpacity(0.60),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
|
||||
Color(0XFF222935).withOpacity(0.60),
|
||||
const Color(0XFF222935).withOpacity(0.60),
|
||||
],
|
||||
),
|
||||
child: Column(
|
||||
@@ -104,7 +104,7 @@ class _NotificationPageState extends State<NotificationPage> {
|
||||
separatorBuilder: (context, index) {
|
||||
return Divider(
|
||||
thickness: 0.6.h,
|
||||
color: Color(0xffFFFFFF).withOpacity(0.72),
|
||||
color: const Color(0xffFFFFFF).withOpacity(0.72),
|
||||
);
|
||||
},
|
||||
itemCount: notificationcontents.length,
|
||||
@@ -135,7 +135,7 @@ class Notificationlist extends StatefulWidget {
|
||||
final bool followrequest;
|
||||
|
||||
// const Notificationlist({super.key});
|
||||
Notificationlist({
|
||||
const Notificationlist({
|
||||
Key? key,
|
||||
required this.imageurl,
|
||||
required this.msgrequest,
|
||||
@@ -207,7 +207,7 @@ class _NotificationlistState extends State<Notificationlist> {
|
||||
text12400white('3 mins ago'),
|
||||
],
|
||||
),
|
||||
Spacer(),
|
||||
const Spacer(),
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
@@ -240,7 +240,7 @@ class _NotificationlistState extends State<Notificationlist> {
|
||||
],
|
||||
),
|
||||
// sizedBoxWidth(25.w),
|
||||
Spacer(),
|
||||
const Spacer(),
|
||||
Expanded(
|
||||
child: Image.asset(
|
||||
'assets/images/png/notifcation.png',
|
||||
|
||||
Reference in New Issue
Block a user