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

outdated

2 axis date selector design

Twitter Follow Twitter

Smooth Date Picker #


2 scroll axis date picker Dart, 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,
            onMonthChanged: (month){
              print(month),
            },
            onDayChanged: (day){
              print(day),
            },
          ),

Result #

Picker Example

List of proprieties #

  • onMonthChanged - get the selected month
  • onDayChanged - get the selected day
  • 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

2 axis date selector design

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

date_util, flutter, intl, vibration

More

Packages that depend on smoothdatepicker