TrackerConfig.strict constructor

TrackerConfig.strict({
  1. RecitationSpeed speed = RecitationSpeed.slow,
  2. bool enableEarlyMatching = false,
  3. bool enableAutoReanchor = false,
  4. int reanchorStallThreshold = 30,
})

Strict mode for advanced reciters, exams, or Tajweed certification.

Implementation

factory TrackerConfig.strict({
  RecitationSpeed speed = RecitationSpeed.slow,
  bool enableEarlyMatching = false,
  bool enableAutoReanchor = false,
  int reanchorStallThreshold = 30,
}) =>
    TrackerConfig(
      recitationSpeed: speed,
      matchingStrictness: MatchingStrictness.hard,
      enableEarlyMatching: enableEarlyMatching,
      enableAutoReanchor: enableAutoReanchor,
      reanchorStallThreshold: reanchorStallThreshold,
    );