PatternPadlock constructor
PatternPadlock({
- required int dimension,
- required List<
PatternCoordinate> validPattern, - String? title = kDefaultPadlockTitle,
- String? unlockMessage = kDefaultPadlockUnlockMessage,
- String? failedToUnlockMessage = kDefaultFailedToUnlockMessage,
- HintBuilder? hintBuilder,
Creates a new PatternPadlock instance.
Implementation
PatternPadlock({
required this.dimension,
required List<PatternCoordinate> validPattern,
super.title = kDefaultPadlockTitle,
super.unlockMessage = kDefaultPadlockUnlockMessage,
super.failedToUnlockMessage = kDefaultFailedToUnlockMessage,
super.hintBuilder,
}) : super(
validList: validPattern,
);