getIntroductionCommunityTemplate function

String getIntroductionCommunityTemplate({
  1. required String className,
  2. required String isLoading,
  3. required String projectName,
})

Implementation

String getIntroductionCommunityTemplate(
    {required String className,
    required String isLoading,
    required String projectName}) {
  return '''
      Scaffold(
        backgroundColor: AppColors.background,
        body: Column(
          children: [
            Expanded(
              flex: 5,
              child: Center(
                child: Container(
                  height: 300.sp,
                  width: 300.sp,
                  decoration: BoxDecoration(
                    color: AppColors.indigoLight,
                    shape: BoxShape.circle,
                  ),
                  child: Icon(
                    Icons.people_alt_rounded,
                    size: 150.sp,
                    color: AppColors.primary,
                  ),
                ),
              ),
            ),
            Expanded(
              flex: 4,
              child: Container(
                width: 100.sw,
                decoration: const BoxDecoration(
                  color: AppColors.orangeBackground,
                  borderRadius: BorderRadius.only(
                    topLeft: Radius.circular(60),
                  ),
                ),
                padding: EdgeInsets.all(30.sp),
                child: Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: [
                    TextWidget(
                      text: "Connect with your Community here",
                      textSize: 28.sp,
                      fontWeight: FontWeight.bold,
                      color: AppColors.white,
                    ),
                    SizedBox(height: 20.sp),
                    TextWidget(
                      text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.",
                      textSize: 16.sp,
                      color: AppColors.white.withOpacity(0.8),
                    ),
                    const Spacer(),
                    Row(
                      mainAxisAlignment: MainAxisAlignment.center,
                      children: [
                        Container(
                          height: 6.sp,
                          width: 30.sp,
                          decoration: BoxDecoration(
                            color: AppColors.white,
                            borderRadius: BorderRadius.circular(10.sp),
                          ),
                        ),
                        SizedBox(width: 8.sp),
                        Container(
                          height: 6.sp,
                          width: 10.sp,
                          decoration: BoxDecoration(
                            color: AppColors.white.withOpacity(0.4),
                            borderRadius: BorderRadius.circular(10.sp),
                          ),
                        ),
                      ],
                    ),
                    SizedBox(height: 30.sp),
                    Row(
                      mainAxisAlignment: MainAxisAlignment.spaceBetween,
                      children: [
                        TextButton(
                          onPressed: () {},
                          child: TextWidget(
                            text: "Skip",
                            color: AppColors.white,
                            textSize: 16.sp,
                          ),
                        ),
                        Container(
                          height: 50.sp,
                          width: 150.sp,
                          decoration: BoxDecoration(
                            border: Border.all(color: AppColors.white),
                            borderRadius: BorderRadius.circular(15.sp),
                          ),
                          child: Center(
                            child: TextWidget(
                              text: "Next",
                              color: AppColors.white,
                              textSize: 18.sp,
                              fontWeight: FontWeight.bold,
                            ),
                          ),
                        ),
                      ],
                    ),
                  ],
                ),
              ),
            ),
          ],
        ),
      )
''';
}