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

Added marked dates lists for EasyInfiniteDateTimeLine widget #35

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

AlexSeednov
Copy link

Hi! Thank you for your package, it's awesome!

But I found thaw it's not so easy to mark several dates with special styles - this issue is exactly about it. Yes, we can use item builder, but in that case we need to recreate all styles. It's not fast and comfortable.

I tried to improve this case, but only for EasyInfiniteDateTimeLine (at least for now): I added new property markedDatesList with possibility to change every day style for just a several dates. It can be only background color, or full day style with decoration and text styles. To provide it I also changed brightness processing: now brightness takes by final background color, not only active color. So activeDateColor is deprecated and I removed it - final text color (depends of brightness) will be get dynamically on _buildDayStructure function.

Maybe it will be useful for someone else, except me. If you decide to decline this PR - it's ok, I'll continue to use my own fork. But it you decide to integrate my changes, I can continue working on it and at least help you with all issues in this new functionality.

Also I updated example - final result on screenshot below

image

@AlexSeednov AlexSeednov changed the title Added marked dates lists Added marked dates lists for EasyInfiniteDateTimeLine widget Jun 22, 2024
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.

1 participant