fist commit ftc staff app clone

This commit is contained in:
2024-08-01 13:46:46 +05:30
commit bf9064a9c9
515 changed files with 42796 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
import 'package:ftc_mobile_app/ftc_mobile_app.dart';
import 'package:flutter/material.dart';
class HomeRowItems extends StatelessWidget {
const HomeRowItems({
super.key,
required this.iconUrl,
required this.textOfItem,
this.color,
this.onTap,
});
final String iconUrl;
final String textOfItem;
final Color? color;
final VoidCallback? onTap;
@override
Widget build(BuildContext context) {
return InkWell(
onTap: onTap,
child: Container(
padding: EdgeInsets.symmetric(vertical: 10.w, horizontal: 10.h),
height: 80.h,
width: 80.h,
decoration: BoxDecoration(
color: CustomAppColors.kPrimaryColor,
borderRadius: BorderRadius.circular(15.r),
),
child: Column(
children: [
CustomImageWidget(
width: 33.w,
height: 38.h,
imagePath: iconUrl,
imageColor: CustomAppColors.kBlackColor,
),
SizedBox(
height: 5.h,
),
CustomTextWidget(
text: textOfItem,
isExpanded: false,
fontSize: 12.sp,
fontWeight: FontWeight.w600,
)
],
),
),
);
}
}

View File

@@ -0,0 +1,42 @@
import 'package:ftc_mobile_app/ftc_mobile_app.dart';
import 'package:flutter/material.dart';
class LineRowWidget extends StatelessWidget {
const LineRowWidget({super.key, required this.text, required this.icon});
final String text;
final String icon;
@override
Widget build(BuildContext context) {
return Container(
margin: EdgeInsets.symmetric(horizontal: 20.w, vertical: 5.h),
padding: EdgeInsets.symmetric(horizontal: 10.w, vertical: 5.h),
decoration: BoxDecoration(
border: Border.all(color: CustomAppColors.kLightGreyColor)),
child: Row(
children: [
CustomImageWidget(
imagePath: icon,
width: 19,
height: 22,
),
SizedBox(
width: 25.w,
),
CustomTextWidget(
text: text,
isExpanded: false,
fontWeight: FontWeight.w600,
fontSize: 14.sp),
const Spacer(),
CustomTextWidget(
text: ">",
isExpanded: false,
fontSize: 15.sp,
fontWeight: FontWeight.w500),
],
),
);
}
}