pattern_lock
2.0.0, released 6 years ago by an unverified publisher
A customizable pattern lock widget for Flutter.
What it does
Provides a PatternLock widget that allows users to input a pattern by connecting points in a grid. It supports customization of colors, point radius, dimensions, and provides callbacks when input is complete.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a gesture-based pattern lock screen for security.
- You want a customizable point-connecting input mechanism.
Skip it when
- You need complex biometric authentication like fingerprint or face recognition.
- You require advanced non-grid pattern layouts.
Strengths
- Easy to use and customizable.
- Supports null safety and multiple platforms.
Weaknesses
- Limited to grid-based point connections.
- Lacks built-in persistent storage or state management for the correct pattern.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
PatternLock(
selectedColor: Colors.red,
pointRadius: 8,
showInput: true,
dimension: 3,
onInputComplete: (List<int> input) {
print("pattern is $input");
},
)Alternatives
Packages that do the same job and could replace pattern_lock.
- ticketcher
Create ticket-style cards, boarding passes, and coupons with custom notches, borders, and dividers.
77Compare - kalender
A customizable calendar widget with day, multi-day, month, and schedule views.
92Compare - flutter_link_previewer
Customizable Flutter widget to fetch and render URL link previews.
91Compare - syncfusion_flutter_sliders
UI-rich slider, range slider, and range selector widgets with numeric and date support.
90Compare