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

Mismatch in Dart Min SDK Version #2245

Open
matiasleyba opened this issue Jan 7, 2025 · 0 comments
Open

Mismatch in Dart Min SDK Version #2245

matiasleyba opened this issue Jan 7, 2025 · 0 comments
Labels
date range picker Date range picker component open Open

Comments

@matiasleyba
Copy link

Bug description

Hi guys,

It appears that the Dart minimum SDK version specified in the package does not accurately reflect the latest features and changes implemented. For instance, the use of withValues(_lib/src/date_picker/date_picker.dart:5905_)—introduced in Flutter 3.27.x—requires a minimum Dart version of 3.6, not 3.3 as currently specified.

This mismatch could lead to issues like this, where developers using older Dart versions may encounter compatibility problems.

Would it make sense to consider updating the Dart minimum SDK version to 3.6 in the pubspec.yaml? This adjustment would better align with the package's actual requirements and help prevent such inconsistencies.

image

Steps to reproduce

Code sample

Code sample
#

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Stack Traces

Stack Traces
[Add the Stack Traces here]

On which target platforms have you observed this bug?

Android, iOS

Flutter Doctor output

Doctor output
[Add your output here]
@matiasleyba matiasleyba changed the title wrong min Dart SDK version Mismatch in Dart Min SDK Version Jan 7, 2025
@LavanyaGowtham2021 LavanyaGowtham2021 added date range picker Date range picker component open Open labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
date range picker Date range picker component open Open
Projects
None yet
Development

No branches or pull requests

2 participants