40 lines
1.1 KiB
Dart
Raw Normal View History

2022-06-24 22:41:08 +05:30
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:google_fonts/google_fonts.dart';
TextStyle get subHeadingStyle {
return GoogleFonts.lato(
textStyle: TextStyle(
fontSize: 18,
fontWeight: FontWeight.bold,
color: Get.isDarkMode ? Colors.grey[400] : Colors.grey));
}
TextStyle get headingStyle {
return GoogleFonts.lato(
textStyle: const TextStyle(fontSize: 24, fontWeight: FontWeight.bold));
}
TextStyle get datePickerTextStyle {
return GoogleFonts.lato(
textStyle: const TextStyle(
fontSize: 20, fontWeight: FontWeight.w600, color: Colors.grey),
);
}
TextStyle get titleStyle {
return GoogleFonts.lato(
textStyle: TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
color: Get.isDarkMode ? Colors.white : Colors.black));
}
TextStyle get subTitleStyle {
return GoogleFonts.lato(
textStyle: TextStyle(
fontSize: 14,
fontWeight: FontWeight.w600,
color: Get.isDarkMode ? Colors.grey[100] : Colors.grey[400]));
}