FCCClockCard constructor

const FCCClockCard({
  1. Key? key,
  2. bool showDate = true,
  3. bool showTime = true,
  4. bool showSeconds = true,
  5. String? dateFormat,
  6. String? timeFormat,
  7. bool is24HourFormat = false,
  8. bool use3DEffect = true,
  9. FCCClockDesignStyle designStyle = FCCClockDesignStyle.liquidGlass,
  10. TextStyle? dateTextStyle,
  11. TextStyle? timeTextStyle,
  12. Color? backgroundColor,
  13. Gradient? backgroundGradient,
  14. bool enableGlowEffect = true,
  15. bool enableBlur = true,
  16. bool enableBackgroundEffect = false,
  17. Widget? customBackground,
  18. Color? dateTextColor,
  19. Color? timeTextColor,
  20. Color? dateGlowColor,
  21. Color? timeGlowColor,
  22. double? dateFontSize,
  23. String? dateFontFamily,
  24. FontWeight? dateFontWeight,
  25. double? timeFontSize,
  26. String? timeFontFamily,
  27. FontWeight? timeFontWeight,
})

Implementation

const FCCClockCard({
  super.key,
  this.showDate = true,
  this.showTime = true,
  this.showSeconds = true,
  this.dateFormat,
  this.timeFormat,
  this.is24HourFormat = false,
  this.use3DEffect = true,
  this.designStyle = FCCClockDesignStyle.liquidGlass,
  this.dateTextStyle,
  this.timeTextStyle,
  this.backgroundColor,
  this.backgroundGradient,
  this.enableGlowEffect = true,
  this.enableBlur = true,
  this.enableBackgroundEffect = false,
  this.customBackground,
  this.dateTextColor,
  this.timeTextColor,
  this.dateGlowColor,
  this.timeGlowColor,
  this.dateFontSize,
  this.dateFontFamily,
  this.dateFontWeight,
  this.timeFontSize,
  this.timeFontFamily,
  this.timeFontWeight,
});