date_format_field 0.0.1 copy "date_format_field: ^0.0.1" to clipboard
date_format_field: ^0.0.1 copied to clipboard

outdated

An automatic date formater widget.

issues forks stars license

A Textfield supporting automatic date formating.

Styles #

Type 1

[screenshots/type1_formater.gif]

Type 2

[screenshots/type2_formater.gif]

Type 3

[screenshots/type3_formater.gif]

Type 4

[screenshots/type4_formater.gif]

Features #

This textfield supports four date time formating options:

  • Four Date formating styles
  • Automatic addition of separators
  • Two Spearators for time formating
  • Sets Keboard type to date keyboard

Getting Started #

In your flutter project pubspec.yaml add the dependency

dependencies:
  date_time_formater: any

Usage #

  1. Install the package by adding the following in your pubspec.yaml file
date_time_formater: latest_version
  1. Add this field to your widget screen using
import 'package:date_format_field/date_format_field.dart';

DateFormatField(
    type: DateFormatType.type4,
)

Add Styling

The widget makes use of InputDecorator which is the same as the default styling supported by flutter

example:

DateFormatField(
    type: DateFormatType.type4,
    decoration: InputDecoration(
        hintText: 'DD/MM/YY',
        border: InputBorder.none,
        icon: Icon(Icons.calendar_month)
    ),
)
14
likes
0
points
652
downloads

Publisher

unverified uploader

Weekly Downloads

An automatic date formater widget.

License

unknown (license)

Dependencies

flutter

More

Packages that depend on date_format_field