getdate_textfield 0.3.0+1
getdate_textfield: ^0.3.0+1 copied to clipboard
A text field that offers the possibility to fill a date by selecting or typing.
getdate_textfield #
A highly customizable, modern date input field for Flutter. It allows users to fill in a date either by typing directly into the field (with automatic masking and validation) or by selecting it from a beautifully animated calendar overlay.
Built with Flutter's modern OverlayPortal architecture, it guarantees zero memory leaks and perfect theme inheritance.
✨ Features #
- Dual Input: Type the date directly (with
dd/MM/yyyymasking) or pick it from the calendar. - Modern Architecture: Uses
OverlayPortalinstead of traditionalOverlayEntryfor rock-solid performance, automatic lifecycle management, and accurate context/theme inheritance. - Smart Positioning: The calendar overlay automatically calculates screen space and opens either below or above the text field to prevent clipping.
- Highly Customizable: Tweak colors, borders, overlay dimensions, and padding through clean configuration classes (
DateFieldDecorationConfigandDateOverlayConfig). - Validation & Debouncing: Built-in validation ensures dates fall within your specified
firstDateandlastDateranges, with customizable error messages.
📦 Installation #
Add it to your pubspec.yaml:
dependencies:
getdate_textfield: