ClockInConfig constructor
ClockInConfig({
- Color primaryColor = const Color(0xFF2ECC71),
- Color successColor = const Color(0xFF2ECC71),
- Color lateColor = const Color(0xFFE74C3C),
- TimeOfDay? resumptionTime,
- double? targetLatitude,
- double? targetLongitude,
- double locationRadius = 200.0,
- bool requireLiveness = true,
- String? title,
- String? successTitle,
- String? successMessage,
- IconData? instructionIcon,
- bool skipLocation = false,
- Future<
ClockInProcessResult> onProcess()?, - 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,
});