RealtimeOptions constructor
const
RealtimeOptions({
- bool after = true,
- bool ago = true,
- bool now = true,
- int nowShowingBeforeSeconds = 10,
- bool today = false,
- bool tomorrow = true,
- bool yesterday = true,
- bool second = true,
- bool minute = true,
- bool hour = true,
- bool day = true,
- bool week = false,
- bool month = false,
- bool year = false,
- String onYears(
- Realtime time
- String onMonths(
- Realtime time
- String onWeeks(
- Realtime time
- String onDays(
- Realtime time
- String onHours(
- Realtime time
- String onMinutes(
- Realtime time
- String onSeconds(
- Realtime time
- String onTomorrow(
- Realtime time
- String onToday(
- Realtime time
- String onYesterday(
- Realtime time
Implementation
const RealtimeOptions({
this.after = true,
this.ago = true,
this.now = true,
this.nowShowingBeforeSeconds = 10,
this.today = false,
this.tomorrow = true,
this.yesterday = true,
this.second = true,
this.minute = true,
this.hour = true,
this.day = true,
this.week = false,
this.month = false,
this.year = false,
this.onYears,
this.onMonths,
this.onWeeks,
this.onDays,
this.onHours,
this.onMinutes,
this.onSeconds,
this.onTomorrow,
this.onToday,
this.onYesterday,
});