PatternLock constructor

const PatternLock({
  1. Key? key,
  2. int dimension = 3,
  3. required void onComplete(
    1. List<int> pattern
    ),
  4. Color? selectedColor,
  5. Color? dotColor,
  6. Color? lineColor,
  7. double dotRadius = 10.0,
  8. double lineWidth = 4.0,
  9. double size = 280.0,
  10. bool enableFeedback = true,
})

Implementation

const PatternLock({
  super.key,
  this.dimension = 3,
  required this.onComplete,
  this.selectedColor,
  this.dotColor,
  this.lineColor,
  this.dotRadius = 10.0,
  this.lineWidth = 4.0,
  this.size = 280.0,
  this.enableFeedback = true,
});