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

decoration-over-number-issue-fixed #147

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AishaTariq
Copy link

Description:

This pull request resolves issue #146 by addressing the problem where the decoration was covering the number in the NumberPicker widget. The issue occurred because the decoration was placed as the last child in the stack, causing it to cover the other child and appear over the number text.

Changes Made:

To resolve this issue, I made the following changes:

  • Moved the decoration to be the first child in the stack, ensuring it is positioned as the bottommost element.

Testing:

I have tested these changes by creating and running a Flutter app and confirming that the decoration no longer covers the number.

Screenshots:

Before After

Related Issue:

This pull request is related to #146, I created the issue post a few weeks ago when I first used the numberpicker widget in a project and noticed the decoration problem. I had some time today so I decided to go through the source code and noticed that the issue could be fixed by simply rearranging the order of the widgets in the stack and moving the decoration to be the first child i.e the one that appears at the bottom.

Note for Reviewers:

I apologize if I have missed any steps, this is my first public contribution bug fix. Please review these changes and provide feedback or approval as needed. Thank you!

Jerakin added a commit to Jerakin/NumberPicker that referenced this pull request Oct 16, 2023
Jerakin added a commit to Jerakin/NumberPicker that referenced this pull request Oct 16, 2023
@jonathanharr
Copy link

Any news on weither or not this will be merged?

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

Successfully merging this pull request may close these issues.

2 participants