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? currentLatitude,
  8. double? currentLongitude,
  9. double locationRadius = 200.0,
  10. bool requireLiveness = true,
  11. String? title,
  12. String? successTitle,
  13. String? successMessage,
  14. IconData? instructionIcon,
  15. bool skipLocation = false,
  16. Future<ClockInProcessResult> onProcess(
    1. Map<String, dynamic> data
    )?,
  17. 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.currentLatitude,
  this.currentLongitude,
  this.locationRadius = 200.0,
  this.requireLiveness = true,
  this.title,
  this.successTitle,
  this.successMessage,
  this.instructionIcon,
  this.skipLocation = false,
  this.onProcess,
  this.type = ClockInType.inTime,
});