Skip to content
Snippets Groups Projects
Select Git revision
  • 8f6d72086d89cb95a7f8e4d7463b18c91e761ee9
  • dev default protected
  • integrating-verify-otp-screen
  • language-selection
  • ECAP1-24-verify_otp
5 results

styles.dart

Blame
  • styles.dart 7.11 KiB
    /* Created by Nitesh Kumar Verma on 15/12/23 */
    
    import 'package:exide_crr/constants/font_constants.dart';
    import 'package:exide_crr/res/app_color_text_size.dart';
    import 'package:flutter/cupertino.dart';
    import 'package:flutter_screenutil/flutter_screenutil.dart';
    import 'package:get/get.dart';
    import 'package:google_fonts/google_fonts.dart';
    
    class Styles {
      static TextStyle fontStyle = GoogleFonts.getFont(
        FontConstants.fontFamilyName,
        fontSize: TextSize.textRegularSize,
        fontWeight: FontWeight.w500,
        fontStyle: FontStyle.normal,
        height: 1.0,
        color: AppColor.fontColor,
      );
    
      static TextStyle subFontStyle = GoogleFonts.getFont(
        FontConstants.fontFamilyName,
        fontSize: TextSize.textSmallSize,
        fontWeight: FontWeight.w400,
        fontStyle: FontStyle.normal,
        height: 1.0,
        color: AppColor.fontColor,
      );
    
      static TextStyle boldFontStyle1 = const TextStyle(
          fontSize: TextSize.textRegularSize,
          fontWeight: FontWeight.w400,
          color: AppColor.fontColor,
          fontFamily: FontConstants.fontFamily);
    
      static TextStyle textFieldTitleStyle = GoogleFonts.getFont(
        FontConstants.fontFamilyName,
        fontSize: TextSize.textSmallSize,
        fontWeight: FontWeight.w500,
        fontStyle: FontStyle.normal,
        height: 1.0,
        color: AppColor.fontColor,
      );
      static TextStyle errorMessageStyle = GoogleFonts.getFont(
        FontConstants.fontFamilyName,
        fontSize: TextSize.textSmallSize,
        fontWeight: FontWeight.w400,
        fontStyle: FontStyle.normal,
        height: 1.0,
        color: AppColor.errorMessageColor,
      );
    
      static TextStyle errorMessageStyleMobile = GoogleFonts.getFont(
        FontConstants.fontFamilyName,
        fontSize: TextSize.textSmallSize,
        fontWeight: FontWeight.w400,
        fontStyle: FontStyle.normal,
        height: 1.0,
        color: AppColor.errorMessageColor,
      );
    
      static TextStyle headerFontStyle = TextStyle(
          fontSize: TextSize.textHeadingSize.sp,
          fontWeight: FontWeight.w700,
          color: AppColor.fontColor,
          fontFamily: FontConstants.fontFamily);
    
      static TextStyle textFieldStyle = GoogleFonts.getFont(
        FontConstants.fontFamilyName,
        fontSize: TextSize.textRegularSize,
        fontWeight: FontWeight.w500,