kfiross / flutter_holo_date_picker

A Flutter package of datepicker like Holo Theme in Android
MIT License
61 stars 77 forks source link

Problem with scrolling in Flutter Web #61

Open BillyWili opened 1 year ago

BillyWili commented 1 year ago

Hello! There is a big issue with scrolling in Flutter Web. The correct thing would be for him to roll one by one, right? If yes, he is skipping three by three.

Example: When you are at one, instead of going to two, you go to four. And this happens as much in the day, month and year.

var datePicked = await DatePicker.showSimpleDatePicker(

  context,
  initialDate: DateTime.now(),
  firstDate: DateTime(1900),
  lastDate: DateTime.now(),
  dateFormat: "dd-MMMM-yyyy",
  locale: DateTimePickerLocale.pt_br,
  looping: true,
  titleText: 'Definir data',
  cancelText: 'Cancelar',
  confirmText: 'Definir',
  textColor: Colors.white,
  backgroundColor: Colors.black,
  itemTextStyle:  const TextStyle(

    color: Colors.white,
  ),
);