pin_code 1.0.0
pin_code: ^1.0.0 copied to clipboard
A pin code library
1.0.0 - 2025-06-06 #
This is the initial release of pin_code
, a heavily refactored and simplified version of the original pin_code_fields
library. The goal of this version is to provide a stable, maintainable, and dependency-free foundation.
Added #
- New Simplified API: Introduced a cleaner, more intuitive API for easier implementation.
- Clean Architecture: Separated business logic from the UI by using a
PinCodeMixin
, improving code readability and maintainability. - Modern
PinTheme
: Implemented aPinTheme
class with a standardcopyWith
method for easier and more predictable styling. - Comprehensive Documentation: Added complete English documentation for all public-facing classes, methods, and properties.
- Official Changelog, README, and License: Created standard package files for community use.
Changed #
- Project Renaming: The library is now
pin_code
. - Complete Refactor: The entire codebase was refactored from the original
pin_code_fields
library to improve architecture and remove complexity.
Removed #
- Third-Party Dependencies: All external dependencies have been removed to ensure stability and reduce package size.
- Non-Essential Features: Removed complex features such as multiple animation types, granular haptic feedback levels, and the built-in paste dialog to create a more lightweight and focused widget.
- Helper Classes: Removed the
DialogConfig
andGradiented
classes as part of the simplification process.
Fixed #
- Clipboard Paste Crash: Fixed a critical null-safety error that occurred when attempting to paste from an empty or non-text clipboard.