CaptureFramePainter constructor

const CaptureFramePainter({
  1. required bool success,
  2. required bool active,
  3. required int completed,
  4. required int total,
  5. required double sweep,
  6. required bool faceReady,
  7. Color primaryColor = const Color(0xFF2ECC71),
  8. Color? backdrop,
})

Implementation

const CaptureFramePainter({
  required this.success,
  required this.active,
  required this.completed,
  required this.total,
  required this.sweep,
  required this.faceReady,
  this.primaryColor = const Color(0xFF2ECC71),
  this.backdrop,
});