Skip to content
pubscout

date_format_field

0.1.0, released 3 years ago by an unverified publisher

A text field widget that supports automatic date formatting and date picking.

WASM-ready
$ flutter pub add date_format_field
Source repository

What it does

Provides a DateFormatField widget that automatically formats date inputs as users type based on predefined styles. It supports separator addition, keyboard setting, and includes an optional calendar icon for a date selection modal.

AI-written summary of version 0.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a text field specifically tailored for manual date entry with automatic formatting
  • You want an integrated calendar picker icon next to a date text field

Skip it when

  • You need complex form validation libraries beyond basic date completion
  • You require fully custom input masks that do not fit the 4 predefined date format types

Strengths

  • Supports multiple date formatting options with automatic separators
  • Includes an optional built-in calendar picker modal
  • Compatible with standard InputDecoration for easy styling

Weaknesses

  • Limited to four specific date format types
  • Only handles date formatting, not general input masks

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
DateFormatField(
    type: DateFormatType.type4,
    onComplete: (date){
        print(date.toString());
    }
)

Alternatives

Packages that do the same job and could replace date_format_field.