You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							90 lines
						
					
					
						
							2.0 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							90 lines
						
					
					
						
							2.0 KiB
						
					
					
				| import 'package:flutter/material.dart'; | |
| import 'package:hadi_hoda_flutter/common_ui/resources/my_colors.dart'; | |
| 
 | |
| class MYTextStyle { | |
|   static const MYTextStyle _i = MYTextStyle._internal(); | |
|   const MYTextStyle._internal(); | |
|   factory MYTextStyle() => _i; | |
| 
 | |
|   static const String dinoKids = 'DinoKids'; | |
|   static const String marhey = 'Marhey'; | |
|   static const String baloo2 = 'Baloo_2'; | |
|   static const Color textColor = MyColors.white; | |
| 
 | |
|   static const TextStyle titr0 = TextStyle( | |
|     fontFamily: marhey, | |
|     fontWeight: FontWeight.w700, | |
|     fontSize: 26, | |
|     color: textColor, | |
|   ); | |
| 
 | |
|   static const TextStyle titr1 = TextStyle( | |
|     fontFamily: baloo2, | |
|     fontWeight: FontWeight.w800, | |
|     fontSize: 20, | |
|     color: textColor, | |
|   ); | |
| 
 | |
|   static const TextStyle titr3 = TextStyle( | |
|     fontFamily: marhey, | |
|     fontWeight: FontWeight.w600, | |
|     fontSize: 18, | |
|     color: textColor, | |
|   ); | |
| 
 | |
|   static const TextStyle titr4 = TextStyle( | |
|     fontFamily: baloo2, | |
|     fontWeight: FontWeight.w700, | |
|     fontSize: 14, | |
|     color: textColor, | |
|   ); | |
| 
 | |
|   static const TextStyle matn1 = TextStyle( | |
|     fontFamily: baloo2, | |
|     fontWeight: FontWeight.w600, | |
|     fontSize: 18, | |
|     color: textColor, | |
|   ); | |
| 
 | |
|   static const TextStyle matn2_3 = TextStyle( | |
|     fontFamily: baloo2, | |
|     fontWeight: FontWeight.w700, | |
|     fontSize: 18, | |
|     color: textColor, | |
|   ); | |
| 
 | |
|   static const TextStyle matn2_2 = TextStyle( | |
|     fontFamily: baloo2, | |
|     fontWeight: FontWeight.w700, | |
|     fontSize: 16, | |
|     color: textColor, | |
|   ); | |
| 
 | |
|   static const TextStyle matn2 = TextStyle( | |
|     fontFamily: baloo2, | |
|     fontWeight: FontWeight.w700, | |
|     fontSize: 14, | |
|     color: textColor, | |
|   ); | |
| 
 | |
|   static const TextStyle matn3 = TextStyle( | |
|     fontFamily: baloo2, | |
|     fontWeight: FontWeight.w500, | |
|     fontSize: 12, | |
|     color: textColor, | |
|   ); | |
| 
 | |
|   static const TextStyle button1 = TextStyle( | |
|     fontFamily: dinoKids, | |
|     fontWeight: FontWeight.w400, | |
|     fontSize: 45, | |
|     color: textColor, | |
|   ); | |
| 
 | |
|   static const TextStyle button2 = TextStyle( | |
|     fontFamily: dinoKids, | |
|     fontWeight: FontWeight.w400, | |
|     fontSize: 30, | |
|     color: textColor, | |
|   ); | |
| } |