You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add optional param to override selectionOverlay widget for CupertinoDatePicker #79559
CupertinoDatePicker doesn't have optional param for selectionOverlay Widget, so it can't be overridden or changed.
This class should have the same option as CupertinoPicker, so we can change this overlay widget.
@TahaTesser I went through the code. Here are my observations.
We have 3 columns. Each column has its own overlay. We have 3 constants. _startSelectionOverlay, _centerSelectionOverlay, _endSelectionOverlay. All 3 overlays are using CupertinoPickerDefaultSelectionOverlay. We are managing the border radius for each overlay.
For this new functionality, Should I add 3 new properties called: startSelectionOverlay, centerSelectionOverlay, endSelectionOverlayto theCupertinoDatePicker?
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
TahaTesser commentedon Apr 5, 2021
Related #68509
Jaaco commentedon Oct 11, 2023
Any updates on when this will be added?
TahaTesser commentedon Oct 11, 2023
PRs are welcome, feel free to create one. Happy to review.
varunkamanibosc commentedon Feb 6, 2024
Hi @TahaTesser I would like to work on this feature. Can you please guide me?
varunkamanibosc commentedon Feb 7, 2024
@TahaTesser I went through the code. Here are my observations.
We have 3 columns. Each column has its own overlay. We have 3 constants.
_startSelectionOverlay,_centerSelectionOverlay,_endSelectionOverlay. All 3 overlays are usingCupertinoPickerDefaultSelectionOverlay. We are managing the border radius for each overlay.For this new functionality, Should I add 3 new properties called:
startSelectionOverlay,centerSelectionOverlay,endSelectionOverlayto theCupertinoDatePicker?varunkamanibosc commentedon Feb 8, 2024
@TahaTesser I have opened a PR #143079. Can you please take a look?
victorsanni commentedon Aug 23, 2024
This should be fixed by #143079.
github-actions commentedon Sep 6, 2024
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.