ConfigurationTimer constructor

ConfigurationTimer({
  1. bool hideRunningTime = false,
  2. bool recordTimeAlert = true,
  3. bool bestAverageAlert = false,
  4. bool worstTimeAlert = false,
  5. bool isActiveInspection = true,
  6. int inspectionSeconds = 15,
  7. bool alertAt8And12Seconds = false,
  8. InspectionAlertType inspectionAlertType = InspectionAlertType.vibrant,
})

Constructor que permite establecer las configuraciones del temporizador.

Por defecto estarán desactivados menos la alerta para el tiempo record y la inspección. Además, el valor predeterminado de los segundos de la inspección serán 15 y, si esta activada la alerta de los ocho y doce segundos, esta sera por defecto la de vibración.

Implementation

ConfigurationTimer(
    {this.hideRunningTime = false,
    this.recordTimeAlert = true,
    this.bestAverageAlert = false,
    this.worstTimeAlert = false,
    this.isActiveInspection = true,
    this.inspectionSeconds = 15,
    this.alertAt8And12Seconds = false,
    this.inspectionAlertType = InspectionAlertType.vibrant});