WalletDialogTheme constructor

WalletDialogTheme({
  1. Color textColor = const Color(0xFF1F2937),
  2. Color borderColor = const Color(0xFFE5E7EB),
  3. Color backgroundColor = Colors.white,
  4. Color gradientColor = const Color(0xFFF8FAFC),
  5. Color primaryColor = const Color(0xFF3B82F6),
  6. Color surfaceColor = const Color(0xFFF1F5F9),
  7. Color cardColor = const Color(0xFFFFFFFF),
  8. Color shadowColor = const Color(0x1A000000),
  9. TextStyle headerStyle = const TextStyle(fontSize: 22, fontWeight: FontWeight.w700, color: Color(0xFF1F2937), letterSpacing: -0.5),
  10. TextStyle labelStyle = const TextStyle(fontSize: 14, fontWeight: FontWeight.w600, color: Color(0xFF6B7280), letterSpacing: 0.1),
  11. TextStyle valueStyle = const TextStyle(fontSize: 16, fontWeight: FontWeight.w500, color: Color(0xFF1F2937), letterSpacing: 0.1),
  12. ButtonConfig? buttonConfirmStyle,
  13. ButtonConfig? buttonRejectStyle,
  14. EdgeInsets dialogPadding = const EdgeInsets.all(24.0),
  15. EdgeInsets contentPadding = const EdgeInsets.symmetric(horizontal: 24.0),
  16. double itemSpacing = 16.0,
  17. double borderRadius = 16.0,
  18. double elevation = 8.0,
})

Implementation

WalletDialogTheme({
  this.textColor = const Color(0xFF1F2937),
  this.borderColor = const Color(0xFFE5E7EB),
  this.backgroundColor = Colors.white,
  this.gradientColor = const Color(0xFFF8FAFC),
  this.primaryColor = const Color(0xFF3B82F6),
  this.surfaceColor = const Color(0xFFF1F5F9),
  this.cardColor = const Color(0xFFFFFFFF),
  this.shadowColor = const Color(0x1A000000),
  this.headerStyle = const TextStyle(
    fontSize: 22,
    fontWeight: FontWeight.w700,
    color: Color(0xFF1F2937),
    letterSpacing: -0.5,
  ),
  this.labelStyle = const TextStyle(
    fontSize: 14,
    fontWeight: FontWeight.w600,
    color: Color(0xFF6B7280),
    letterSpacing: 0.1,
  ),
  this.valueStyle = const TextStyle(
    fontSize: 16,
    fontWeight: FontWeight.w500,
    color: Color(0xFF1F2937),
    letterSpacing: 0.1,
  ),
  ButtonConfig? buttonConfirmStyle,
  ButtonConfig? buttonRejectStyle,
  this.dialogPadding = const EdgeInsets.all(24.0),
  this.contentPadding = const EdgeInsets.symmetric(horizontal: 24.0),
  this.itemSpacing = 16.0,
  this.borderRadius = 16.0,
  this.elevation = 8.0,
})  : buttonConfirmStyle = buttonConfirmStyle ?? const ButtonConfig(),
      buttonRejectStyle = buttonRejectStyle ?? const ButtonConfig();