Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When i keep my last date to a specific year and if i select that year then getting Jan 01 issue #70

Open
Shaukatali-Webelight opened this issue Aug 27, 2024 · 0 comments

Comments

@Shaukatali-Webelight
Copy link

  • This is my code :
        firstDate: DateTime(DateTime.now().year - AppConst.k36.toInt()),
        lastDate: DateTime(DateTime.now().year - AppConst.k15.toInt()),
        initialDate: DateTime(DateTime.now().year - AppConst.k16.toInt()),
        dateFormat: AppStrings.dateFormat,
        onChange: onChange,
        looping: true,
        pickerTheme: DateTimePickerTheme(
          itemHeight: AppConst.k30,
          backgroundColor: AppColors.transparent,
          itemTextStyle: AppStyles.getMediumStyle(fontSize: AppConst.k20),
          dividerColor: AppColors.transparent,
        ),
      ),
  • As per the code my last date year is 2009 so when i select it i get this issue of Jan 01 which keeps scrolling
Screen.Recording.2024-08-27.at.4.47.56.PM.mov
  • If i keep looping true then i just get Jan 01 2009 , is it something from package side?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant