This is flutter sqlite local notification project. User can add task.
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.
 
 
 
 
 
 

63 lines
1.6 KiB

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]));
}
TextStyle get taskTitle {
return GoogleFonts.lato(
textStyle: TextStyle(
fontSize: 16, fontWeight: FontWeight.bold, color: Colors.white));
}
TextStyle get taskTime {
return GoogleFonts.lato(
textStyle: TextStyle(fontSize: 13, color: Colors.grey[100]),
);
}
TextStyle get taskNote {
return GoogleFonts.lato(
textStyle: TextStyle(fontSize: 15, color: Colors.grey[100]),
);
}
TextStyle get taskIsComplete {
return GoogleFonts.lato(
textStyle: TextStyle(
fontSize: 10, fontWeight: FontWeight.bold, color: Colors.white));
}