VisitStatsPanel class
A "Visits" button that opens the visits of the last two weeks per day and per hour, from
/visits, refreshed every interval while open.
Constructors
-
VisitStatsPanel({dynamic key, required Future<
String?> fetch(), Duration interval = const Duration(minutes: 1), DateTime now() = DateTime.now}) -
const
Properties
-
fetch
→ Future<
String?> Function() -
/visits's body, ornullwhen it does not answer.final - hashCode → int
-
The hash code for this object.
no setterinherited
- interval → Duration
-
final
- now → DateTime Function()
-
The clock the days are counted to; a test sets its own.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createState(
) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited