NOTE: in bower, this package is
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.
See the component page for full documentation.
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
<paper-dialog id="dialog" class="paper-date-picker-dialog" modal on-iron-overlay-closed="dismissDialog"> <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> </div> </paper-dialog>
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!
set and get datefunction
Add this to your package's pubspec.yaml file:
dependencies: polymer_date_picker: "^0.0.4"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
flutter packages get.
Check the docs for your editor to learn more.
|0.0.4||May 3, 2017|
|0.0.3||May 2, 2017|
|0.0.2||May 2, 2017|
|0.0.1||May 2, 2017|
We analyzed this package on Jun 12, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: Flutter, web, other
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.dartgave the following hint:
line: 10 col: 8
Unused import: 'package:polymer_elements/iron_icon.dart'.
Strong-mode analysis of
lib/src/paper_date_picker.dartgave the following hint:
line: 7 col: 8
Unused import: 'package:polymer_elements/iron_media_query.dart'.
Similar analysis of the following files failed:
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:
example.dartor you could also use
|Dart SDK||>=1.23.0 <2.0.0|