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

2 years ago
  1. import 'package:flutter/material.dart';
  2. import 'package:get/get.dart';
  3. import 'package:google_fonts/google_fonts.dart';
  4. TextStyle get subHeadingStyle {
  5. return GoogleFonts.lato(
  6. textStyle: TextStyle(
  7. fontSize: 18,
  8. fontWeight: FontWeight.bold,
  9. color: Get.isDarkMode ? Colors.grey[400] : Colors.grey));
  10. }
  11. TextStyle get headingStyle {
  12. return GoogleFonts.lato(
  13. textStyle: const TextStyle(fontSize: 24, fontWeight: FontWeight.bold));
  14. }
  15. TextStyle get datePickerTextStyle {
  16. return GoogleFonts.lato(
  17. textStyle: const TextStyle(
  18. fontSize: 20, fontWeight: FontWeight.w600, color: Colors.grey),
  19. );
  20. }
  21. TextStyle get titleStyle {
  22. return GoogleFonts.lato(
  23. textStyle: TextStyle(
  24. fontSize: 16,
  25. fontWeight: FontWeight.w600,
  26. color: Get.isDarkMode ? Colors.white : Colors.black));
  27. }
  28. TextStyle get subTitleStyle {
  29. return GoogleFonts.lato(
  30. textStyle: TextStyle(
  31. fontSize: 14,
  32. fontWeight: FontWeight.w600,
  33. color: Get.isDarkMode ? Colors.grey[100] : Colors.grey[400]));
  34. }
  35. TextStyle get taskTitle {
  36. return GoogleFonts.lato(
  37. textStyle: TextStyle(
  38. fontSize: 16, fontWeight: FontWeight.bold, color: Colors.white));
  39. }
  40. TextStyle get taskTime {
  41. return GoogleFonts.lato(
  42. textStyle: TextStyle(fontSize: 13, color: Colors.grey[100]),
  43. );
  44. }
  45. TextStyle get taskNote {
  46. return GoogleFonts.lato(
  47. textStyle: TextStyle(fontSize: 15, color: Colors.grey[100]),
  48. );
  49. }
  50. TextStyle get taskIsComplete {
  51. return GoogleFonts.lato(
  52. textStyle: TextStyle(
  53. fontSize: 10, fontWeight: FontWeight.bold, color: Colors.white));
  54. }