PatternLock constructor

const PatternLock({
  1. Key? key,
  2. int dimension = 3,
  3. double relativePadding = 0.7,
  4. Color? selectedColor,
  5. Color notSelectedColor = Colors.black45,
  6. double pointRadius = 10,
  7. bool showInput = true,
  8. int selectThreshold = 25,
  9. bool fillPoints = false,
  10. required dynamic onInputComplete(
    1. List<int>
    ),
})

Creates PatternLock with given params.

Implementation

const PatternLock({
  Key? key,
  this.dimension = 3,
  this.relativePadding = 0.7,
  this.selectedColor, // Theme.of(context).primaryColor if null
  this.notSelectedColor = Colors.black45,
  this.pointRadius = 10,
  this.showInput = true,
  this.selectThreshold = 25,
  this.fillPoints = false,
  required this.onInputComplete,
}) : super(key: key);