notification and short trade screen done
This commit is contained in:
@@ -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,
|
||||
|
||||
41
lib/Utils/Common/CommonTabBar.dart
Normal file
41
lib/Utils/Common/CommonTabBar.dart
Normal 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',
|
||||
),
|
||||
]),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user