ClockInConfig constructor

ClockInConfig({
  1. Color primaryColor = const Color(0xFF2ECC71),
  2. Color successColor = const Color(0xFF2ECC71),
  3. Color lateColor = const Color(0xFFE74C3C),
  4. TimeOfDay? resumptionTime,
  5. double? targetLatitude,
  6. double? targetLongitude,
  7. double locationRadius = 200.0,
  8. bool requireLiveness = true,
  9. String? title,
  10. String? successTitle,
  11. String? successMessage,
  12. IconData? instructionIcon,
  13. bool skipLocation = false,
  14. Future<ClockInProcessResult> onProcess(
    1. Map<String, dynamic> data
    )?,
  15. ClockInType type = ClockInType.inTime,
})

Implementation

ClockInConfig({
  this.primaryColor = const Color(0xFF2ECC71),
  this.successColor = const Color(0xFF2ECC71),
  this.lateColor = const Color(0xFFE74C3C),
  this.resumptionTime,
  this.targetLatitude,
  this.targetLongitude,
  this.locationRadius = 200.0,
  this.requireLiveness = true,
  this.title,
  this.successTitle,
  this.successMessage,
  this.instructionIcon,
  this.skipLocation = false,
  this.onProcess,
  this.type = ClockInType.inTime,
});