FCCClockCard constructor
const
FCCClockCard({
- Key? key,
- bool showDate = true,
- bool showTime = true,
- bool showSeconds = true,
- String? dateFormat,
- String? timeFormat,
- bool is24HourFormat = false,
- bool use3DEffect = true,
- FCCClockDesignStyle designStyle = FCCClockDesignStyle.liquidGlass,
- TextStyle? dateTextStyle,
- TextStyle? timeTextStyle,
- Color? backgroundColor,
- Gradient? backgroundGradient,
- bool enableGlowEffect = true,
- bool enableBlur = true,
- bool enableBackgroundEffect = false,
- Widget? customBackground,
- Color? dateTextColor,
- Color? timeTextColor,
- Color? dateGlowColor,
- Color? timeGlowColor,
- double? dateFontSize,
- String? dateFontFamily,
- FontWeight? dateFontWeight,
- double? timeFontSize,
- String? timeFontFamily,
- 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,
});