flutter_password_input 0.1.7
flutter_password_input: ^0.1.7 copied to clipboard
A customizable password text field widget with Caps Lock detection, visibility toggle, force English input mode, and comprehensive theming support.
0.1.7 #
feat
- Add tooltip animation parameters to
WarningTooltipTheme:animation: Animation style (none,fade,scale,slide,fadeScale,fadeSlide,rotation)animationCurve: Custom easing curvefadeBegin: Starting opacity for fade animationsscaleBegin: Starting scale for scale animationsslideOffset: Slide distance ratio for slide animationsrotationBegin: Starting rotation for rotation animations
- Re-export
TooltipAnimationenum for direct use
deps
- Upgrade
just_tooltipfrom^0.2.0to^0.2.1
0.1.6 #
feat
- Add
interactiveoption toWarningTooltipThemeto control whether tooltip stays visible on hover (default: true)
deps
- Upgrade
just_tooltipfrom^0.1.7to^0.2.0 - Migrate tooltip styling parameters to new
JustTooltipThemeAPI (breaking change in just_tooltip 0.2.0)
0.1.5 #
feat
- Add
WarningDisplayModeenum (message,tooltip) to switch warning display between inline text and tooltip - Add
warningDisplayModetoPasswordTextField(default:message) - Tooltip mode uses
just_tooltippackage with per-warning independent positioning viacapsLockWarningAlignmentandpasteWarningAlignment - Add
WarningTooltipThemeclass for full tooltip styling customization:backgroundColor,borderRadius,padding,elevation,boxShadowborderColor,borderWidthtextStyle,offset,crossAxisOffset,screenMarginanimationDurationshowArrow,arrowBaseWidth,arrowLength,arrowPositionRatio
- Add
tooltipThemetoPasswordTextFieldTheme - Paste warning now hides when focus is lost (consistent with Caps Lock warning behavior)
deps
- Add
just_tooltip: ^0.1.7
0.1.4 #
feat
- Add
WarningAlignmentenum with 6 positions (topLeft,topCenter,topRight,bottomLeft,bottomCenter,bottomRight) - Add
capsLockWarningAlignmentandpasteWarningAlignmenttoPasswordTextField(default:bottomLeft) - Add
pasteWarningBorderColortoPasswordTextFieldThemefor independent paste warning border/text color (falls back toerrorBorderColor) - Paste warning now changes border color and floating label color
0.1.3 #
feat
- Add paste warning message when paste is blocked (
disablePaste: true)showPasteWarning: Whether to show warning (default: true)pasteWarningText: Custom warning message (default: 'Paste is disabled')pasteWarningDuration: Auto-hide duration (default: 3 seconds)onPasteBlocked: Callback when paste attempt is blocked- Warning auto-hides when user starts typing
- Add
pasteWarningStyletoPasswordTextFieldTheme
0.1.2 #
feat
- Add
disablePasteoption to block paste functionality (default: false)- Blocks both keyboard shortcuts (Ctrl+V/Cmd+V) and context menu paste
0.1.1 #
feat
- Add
forceEnglishInputoption to force English keyboard input when focused (default: true)- Windows: Disables IME when focused, re-enables when unfocused
- macOS: Switches to English keyboard and maintains it while focused
- Add
ExcludeFocuswrapper to visibility toggle button to prevent focus stealing
chore
- Add macOS platform support to example app
- Update
flutter_imedependency version
0.1.0 #
feat
- Add
PasswordTextFieldwidget with obscured text input - Add Caps Lock detection using
flutter_imepackage (Windows, macOS supported) - Add password visibility toggle button
- Add
prefixWidgetandsuffixWidgetsupport - Add
PasswordTextFieldThemefor comprehensive styling customization - Add
merge()andcopyWith()methods for theme manipulation - Add interactive playground example app
docs
- Add detailed English documentation for all public APIs