VKTheme constructor

const VKTheme({
  1. Color primaryColor = const Color(0xFF1050BA),
  2. Color backgroundColor = const Color(0xFFFFFFFF),
  3. Color hintColor = const Color(0xFFBDBDBD),
  4. Color textColor = Colors.black,
  5. Color borderColor = const Color(0xFFBDBDBD),
  6. Color errorColor = const Color(0xFFD32F2F),
  7. double minHeight = 50,
  8. double textSize = 14,
  9. bool highlightRequiredBorder = false,
  10. Color keyboardBackground = const Color(0xFF1A1B1E),
  11. Color keyBackground = const Color(0xFF2D2F33),
  12. Color keyActiveBackground = Colors.white,
  13. Color keyTextColor = Colors.white70,
  14. Color keySecondaryTextColor = Colors.white54,
  15. Color keyActiveTextColor = Colors.black,
  16. Color submitKeyBackground = const Color(0xFF1565C0),
  17. Color backspaceKeyBackground = const Color(0xFFC62828),
  18. double keyWidth = 56,
  19. double keyHeight = 64,
  20. double numberKeyWidth = 110,
  21. double numberKeyHeight = 60,
  22. double keySpacing = 8,
  23. double keyTextSize = 20,
  24. double keyBorderRadius = 8,
})

Implementation

const VKTheme({
  this.primaryColor = const Color(0xFF1050BA),
  this.backgroundColor = const Color(0xFFFFFFFF),
  this.hintColor = const Color(0xFFBDBDBD),
  this.textColor = Colors.black,
  this.borderColor = const Color(0xFFBDBDBD),
  this.errorColor = const Color(0xFFD32F2F),
  this.minHeight = 50,
  this.textSize = 14,
  this.highlightRequiredBorder = false,
  // ----- клавиатура -----
  this.keyboardBackground = const Color(0xFF1A1B1E),
  this.keyBackground = const Color(0xFF2D2F33),
  this.keyActiveBackground = Colors.white,
  this.keyTextColor = Colors.white70,
  this.keySecondaryTextColor = Colors.white54,
  this.keyActiveTextColor = Colors.black,
  this.submitKeyBackground = const Color(0xFF1565C0),
  this.backspaceKeyBackground = const Color(0xFFC62828),
  this.keyWidth = 56,
  this.keyHeight = 64,
  this.numberKeyWidth = 110,
  this.numberKeyHeight = 60,
  this.keySpacing = 8,
  this.keyTextSize = 20,
  this.keyBorderRadius = 8,
});