notification and short trade screen done

This commit is contained in:
priyanka
2024-03-21 00:11:02 -07:00
parent 4b277f9bcd
commit e2f0f6bfbe
17 changed files with 1437 additions and 177 deletions

View File

@@ -7,7 +7,7 @@ import 'package:glassmorphism/glassmorphism.dart';
import 'package:traderscircuit/Utils/Common/MainController.dart';
GlassmorphicContainer bottomnavigationbar(
Color secondaryColor, MainController _mainController) {
MainController _mainController) {
return GlassmorphicContainer(
width: double.infinity,
height: 83.h,

View File

@@ -0,0 +1,41 @@
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class MyTabBar extends StatelessWidget {
// Set the desired height
@override
Widget build(BuildContext context) {
return Container(
decoration: BoxDecoration(
border: Border.all(color: Color(0Xff3A3A3A)),
borderRadius: BorderRadius.circular(8.r),
),
padding: const EdgeInsets.all(10.0), // Set the desired padding
child: TabBar(
indicator: BoxDecoration(
color: const Color(0xff6C0000),
borderRadius: BorderRadius.circular(5),
),
dividerColor: Colors.transparent,
labelStyle: TextStyle(
fontSize: 18.sp,
color: Colors.white,
fontWeight: FontWeight.w500,
fontFamily: 'manrope'),
indicatorSize: TabBarIndicatorSize.tab,
indicatorColor: const Color(0xFFFFFFFF),
labelColor: Colors.white,
unselectedLabelColor: const Color(0xffFFFFFF),
overlayColor: MaterialStateProperty.all(const Color(0xFFFFFFFF)),
tabs: const [
Tab(
text: 'Active Calls',
),
Tab(
text: 'Exited Calls',
),
]),
);
}
}

View File

@@ -12,7 +12,7 @@ Widget commonGlassContainer(
height: height,
borderRadius: borderradius,
blur: 10,
alignment: Alignment.center,
alignment: Alignment.topCenter,
border: 0.9,
linearGradient: LinearGradient(
begin: Alignment.topLeft,

View File

@@ -78,6 +78,28 @@ Widget text16W400_1B1B1B(String text) {
);
}
Widget text12W500_B4B4B4(String text) {
return Text(
text,
style: TextStyle(
fontSize: 12.sp,
color: Color(0XffB4B4B4),
fontWeight: FontWeight.w500,
fontFamily: 'manrope'),
);
}
Widget text14W600_1B1B1B(String text) {
return Text(
text,
style: TextStyle(
fontSize: 14.sp,
color: Color(0Xff1B1B1B),
fontWeight: FontWeight.w600,
fontFamily: 'manrope'),
);
}
Widget text16W600(String text) {
return Text(
text,
@@ -111,6 +133,17 @@ Widget text15W600(String text) {
);
}
Widget text15W600_00FF19(String text) {
return Text(
text,
style: TextStyle(
fontSize: 15.sp,
color: Color(0xFF00FF19),
fontWeight: FontWeight.w600,
fontFamily: 'manrope'),
);
}
Widget text12W400(String text) {
return Text(
text,
@@ -121,6 +154,16 @@ Widget text12W400(String text) {
fontFamily: 'manrope'),
);
}
Widget text12W500(String text) {
return Text(
text,
style: TextStyle(
fontSize: 12.sp,
color: Colors.white,
fontWeight: FontWeight.w500,
fontFamily: 'manrope'),
);
}
Widget text8W400(String text) {
return Text(
@@ -144,6 +187,17 @@ Widget text22W600(String text) {
);
}
Widget text25W600(String text) {
return Text(
text,
style: TextStyle(
fontSize: 25.sp,
color: Colors.white,
fontWeight: FontWeight.w600,
fontFamily: 'manrope'),
);
}
Widget text22W500(String text) {
return Text(
text,
@@ -177,6 +231,17 @@ Widget text14W300(String text) {
);
}
Widget text14W400(String text) {
return Text(
text,
style: TextStyle(
fontSize: 14.sp,
color: Colors.white,
fontWeight: FontWeight.w400,
fontFamily: 'manrope'),
);
}
Widget text14W500(String text) {
return Text(
text,