polymer_date_picker 0.0.4

  • README.md
  • Installing
  • Versions
  • 58


NOTE: in bower, this package is polymer-paper-date-picker

Port of Material Design date picker, compatible with Dart Polymer

Provides a responsive date picker based on the material design spec. This component aims to be a clone of the date picker introduced in Android Lollipop.

wide picker screenshot narrow picker screenshot

See the component page for full documentation.


Default picker:


Setting the initial date to April 20, 2015:

<paper-date-picker date="April 20, 2015"></paper-date-picker>

You may also specify a minimum and/or maximum date allowed in this picker using the same date notation:

<paper-date-picker min-date="April 1, 2015" max-date="June 30, 2015"></paper-date-picker>

If you include this element as part of paper-dialog, use the class "paper-date-picker-dialog" on the dialog element in order to give it proper styling:

<paper-dialog id="dialog" class="paper-date-picker-dialog" modal
  <paper-date-picker id="picker" date="[[date]]"></paper-date-picker>
  <div class="buttons">
    <paper-button dialog-dismiss>Cancel</paper-button>
    <paper-button dialog-confirm>OK</paper-button>

Reporting Bugs

When filing a bug report, please provide an example of how to repoduce using plunker, jsbin, jsfiddle, etc. You can use the following plunker as a starting point: http://plnkr.co/edit/9c787GHiBzX7zI5x6gsX


Pull requests are welcome and greatly appreciated. However, in order to speed up the review process, pull requests will not be merged if they include multiple unrelated changes (eg: "Fix for XYZ and other tweaks"). Also, don't include "opinionated" changes that aren't necessary for the feature or bugfix.

When submitting a PR for a bugfix, please reference the issue number in the commit message. For example: "Fixes issue #123".

If you find this component useful, please show your support by donating to Bold Idea. Click the button below!

ideaSpark campaign button



  • Initial version, created by Stagehand


  • Remove transformer - dart_to_js_script_rewriter


  • Change README


  • Add AngularDart example
  • Add Polymer set and get date function

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  polymer_date_picker: "^0.0.4"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

Version Uploaded Documentation Archive
0.0.4 May 3, 2017 Go to the documentation of polymer_date_picker 0.0.4 Download polymer_date_picker 0.0.4 archive
0.0.3 May 2, 2017 Go to the documentation of polymer_date_picker 0.0.3 Download polymer_date_picker 0.0.3 archive
0.0.2 May 2, 2017 Go to the documentation of polymer_date_picker 0.0.2 Download polymer_date_picker 0.0.2 archive
0.0.1 May 2, 2017 Go to the documentation of polymer_date_picker 0.0.1 Download polymer_date_picker 0.0.1 archive


We analyzed this package on Jun 12, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.60.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
51 / 100
Code health derived from static analysis. [more]
50 / 100
Reflects how tidy and up-to-date the package is. [more]
89 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: Flutter, web, other

No libraries.


  • Package is getting outdated.

    The package was released 57 weeks ago.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 39 hints.

    Strong-mode analysis of lib/src/paper_calendar.dart gave the following hint:

    line: 10 col: 8
    Unused import: 'package:polymer_elements/iron_icon.dart'.

    Strong-mode analysis of lib/src/paper_date_picker.dart gave the following hint:

    line: 7 col: 8
    Unused import: 'package:polymer_elements/iron_media_query.dart'.

    Similar analysis of the following files failed:

    • lib/src/paper_date_picker_dialog_style.dart (hint)
    • lib/src/paper_date_picker_icons.dart (hint)
    • lib/src/paper_year_list.dart (hint)
  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use polymer_date_picker.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.23.0 <2.0.0
polymer ^1.0.0-rc 1.0.0-rc.19
polymer_elements ^1.0.0-rc 1.0.0-rc.10
web_components ^0.12.0 0.12.5
Transitive dependencies
analyzer 0.29.5 0.32.1
args 0.13.7 1.4.3
async 2.0.7
barback 0.15.2+16
charcode 1.1.1
cli_util 0.1.3
code_transformers 0.5.1+5
collection 1.14.10
convert 2.0.1
crypto 2.0.3
csslib 0.14.4
dart_style 0.2.16 1.0.14
glob 1.1.5
html 0.13.3+1
initialize 0.6.2+7
isolate 0.2.3 2.0.1
logging 0.11.3+1
meta 1.1.5
package_config 1.0.3
path 1.6.0
plugin 0.2.0+2
polymer_interop 1.0.0-rc.10
pool 1.3.5
reflectable 1.0.3 2.0.1
source_maps 0.10.5
source_span 1.4.0
stack_trace 1.9.2
string_scanner 1.0.2
typed_data 1.1.5
utf 0.9.0+4
watcher 0.9.7+8
yaml 2.1.14
Dev dependencies
browser ^0.10.0
dart_to_js_script_rewriter ^1.0.1