smoothdatepicker 0.0.2 copy "smoothdatepicker: ^0.0.2" to clipboard
smoothdatepicker: ^0.0.2 copied to clipboard

outdated

Horizontal and vertical date picker in Flutter, with the ability to change the scroll and card direction in any combination

Instagram Instagram

Smooth Date Picker #


Horizontal and vertical date picker in Flutter

How to use #

You have to call the widget SmoothDatePicker, and customize it by changing the proprieties

SmoothDatePicker(
            scrollDirection: Axis.vertical,
            cardDirection: Axis.horizontal,
            mainColor: Colors.blue,
            secondColor: Colors.yellow,
            onSelectionChanged: (selectedDate){
                          print(selectedDate);
                        },
          ),

Result #

Picker Example

Android #

The VIBRATE permission is required in AndroidManifest.xml.

<uses-permission android:name="android.permission.VIBRATE"/>

List of proprieties #

  • onSelectionChanged - what to do when the selection changes
  • mainColor - main color of a card
  • secondColor - secondary color of a card(Text)
  • scrollDirection - scroll direction of the picker
  • cardDirection - the card orientation
  • width - width of the picker
  • height - height of the picker
  • diameterRatio - diameterRatio of the picker
  • padding - padding inside the card
  • duration - duration of the animation between selection
  • cardWidth - the width of the card
  • cardHeight - the height of the card

Other combinations #

Horizontal scroll with vertical card #

Picker Example

Horizontal scroll with horizontal card #

Picker Example
10
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Horizontal and vertical date picker in Flutter, with the ability to change the scroll and card direction in any combination

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, vibration

More

Packages that depend on smoothdatepicker