terminal_theme.dart 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. import 'package:flutter/widgets.dart';
  2. class TerminalTheme {
  3. const TerminalTheme({
  4. required this.cursor,
  5. required this.selection,
  6. required this.foreground,
  7. required this.background,
  8. required this.black,
  9. required this.white,
  10. required this.red,
  11. required this.green,
  12. required this.yellow,
  13. required this.blue,
  14. required this.magenta,
  15. required this.cyan,
  16. required this.brightBlack,
  17. required this.brightRed,
  18. required this.brightGreen,
  19. required this.brightYellow,
  20. required this.brightBlue,
  21. required this.brightMagenta,
  22. required this.brightCyan,
  23. required this.brightWhite,
  24. required this.searchHitBackground,
  25. required this.searchHitBackgroundCurrent,
  26. required this.searchHitForeground,
  27. });
  28. final Color cursor;
  29. final Color selection;
  30. final Color foreground;
  31. final Color background;
  32. final Color black;
  33. final Color red;
  34. final Color green;
  35. final Color yellow;
  36. final Color blue;
  37. final Color magenta;
  38. final Color cyan;
  39. final Color white;
  40. final Color brightBlack;
  41. final Color brightRed;
  42. final Color brightGreen;
  43. final Color brightYellow;
  44. final Color brightBlue;
  45. final Color brightMagenta;
  46. final Color brightCyan;
  47. final Color brightWhite;
  48. final Color searchHitBackground;
  49. final Color searchHitBackgroundCurrent;
  50. final Color searchHitForeground;
  51. }