|
|
|
|
@ -142,11 +142,11 @@ class _CMDetailPageState extends State<CMDetailPage> {
|
|
|
|
|
return Container(
|
|
|
|
|
padding: const EdgeInsets.symmetric(vertical: 4, horizontal: 6),
|
|
|
|
|
margin: const EdgeInsets.only(left: 2),
|
|
|
|
|
decoration: BoxDecoration(color: AppColor.background(context) ,border: Border.all(color: AppColor.border2Color(context)), borderRadius: BorderRadius.circular(16)),
|
|
|
|
|
decoration: BoxDecoration(color: AppColor.background(context), border: Border.all(color: AppColor.border2Color(context)), borderRadius: BorderRadius.circular(16)),
|
|
|
|
|
child: Row(
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
children: [
|
|
|
|
|
Icon(Icons.add, size: 20, color:AppColor.textStyleColor(context)),
|
|
|
|
|
Icon(Icons.add, size: 20, color: AppColor.textStyleColor(context)),
|
|
|
|
|
Text(
|
|
|
|
|
"Loan",
|
|
|
|
|
style: AppTextStyles.bodyText2.copyWith(color: AppColor.textStyleColor(context)),
|
|
|
|
|
@ -187,10 +187,14 @@ class _CMDetailPageState extends State<CMDetailPage> {
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
margin: EdgeInsets.only(left: 16.toScreenWidth, right: 16.toScreenWidth, top: 12.toScreenHeight),
|
|
|
|
|
decoration: BoxDecoration(color: context.isDark ? AppColor.neutral50 : AppColor.white10, borderRadius: BorderRadius.circular(10)),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
color: AppColor.tabBarBackground(context),
|
|
|
|
|
border: Border.all(color: AppColor.tabBarBorder(context)),
|
|
|
|
|
borderRadius: BorderRadius.circular(20),
|
|
|
|
|
),
|
|
|
|
|
child: TabBar(
|
|
|
|
|
//controller: _tabController,
|
|
|
|
|
padding: EdgeInsets.symmetric(vertical: 4.toScreenHeight, horizontal: 4.toScreenWidth),
|
|
|
|
|
padding: EdgeInsets.symmetric(vertical: 6.toScreenHeight, horizontal: 6.toScreenWidth),
|
|
|
|
|
labelColor: context.isDark ? AppColor.neutral30 : AppColor.black20,
|
|
|
|
|
unselectedLabelColor: context.isDark ? AppColor.neutral30 : AppColor.black20,
|
|
|
|
|
unselectedLabelStyle: AppTextStyles.bodyText,
|
|
|
|
|
@ -198,7 +202,11 @@ class _CMDetailPageState extends State<CMDetailPage> {
|
|
|
|
|
indicatorPadding: EdgeInsets.zero,
|
|
|
|
|
indicatorSize: TabBarIndicatorSize.tab,
|
|
|
|
|
dividerColor: Colors.transparent,
|
|
|
|
|
indicator: BoxDecoration(color: context.isDark ? AppColor.neutral60 : AppColor.neutral110, borderRadius: BorderRadius.circular(7)),
|
|
|
|
|
overlayColor: WidgetStateProperty.all(Colors.transparent),
|
|
|
|
|
indicator: BoxDecoration(
|
|
|
|
|
color: AppColor.background(context),
|
|
|
|
|
borderRadius: BorderRadius.circular(15),
|
|
|
|
|
boxShadow: [BoxShadow(color: Colors.black.withOpacity(0.03), blurRadius: 5, offset: const Offset(0, 0), spreadRadius: 0)]),
|
|
|
|
|
onTap: (index) {
|
|
|
|
|
// setState(() {});
|
|
|
|
|
},
|
|
|
|
|
|