mduccc / flutter_calendar_week Goto Github PK
View Code? Open in Web Editor NEWFlutter calendar week UI package
Home Page: https://pub.dev/packages/flutter_calendar_week
License: MIT License
Flutter calendar week UI package
Home Page: https://pub.dev/packages/flutter_calendar_week
License: MIT License
Good library, but I don't see any way to switch weeks through the controller (like using buttons to do it). Is there any way to do this?
A similar behavior can be added via CalendarWeekController().jumpToDate, but the selected date will change too. This doesn't work.
It would also be cool if it was possible to disable scrolling in the calendar.
great library, my only issue is that the selected date on the calendar stays always the same even if I refresh the widget. Is there any way to reset the indicator or to programmatically select a date?
Loving the widget - Thanks. I am reasonably new to flutter and would like to understand is there anyway to get a notification when the current week has changed through a UX interaction (user has changed displayed week)
Thanks
Regardless of the "showMonth" parameter it will show month in calendar.
In the sources I found that this variable in "_CalendarWeekState" named "monthDisplay" is used for condition, but any waymonth the label will be created at method "_week"
thank you for the update, that works but only after I opened the calendar.
I will try to explain all the steps to reproduce this problem:
It looks like it caches the previous click without clearing it when I reload it.
Originally posted by @albert0m in #1 (comment)
Is there any way I can make month names and day names localizations and to make the week start with Monday? I really want it to be in the language of the current locale settings on the phone.
I think this might be a great feature.
Thank you for your help!
Hi, great widget. it has only one problem it doesn't scroll the days, android is perfect
you cannot update to the latest dart version due to the intl: ^0.17.0 problem, most packages require intl 0.18, while this package only works on intl 0.17.0
Please to add locale in calendar.
For example:
...
locale: 'en_EN',
...
Can you add a decoration
parameter to change the _body()
's Container decoration?
i want to get dates on week changed like from 19-09-2020 to 25-09-2020 in text ,date range i require, so can you pls guide me how can i display in different text??
I think the title explains my feature request, but here's some more detail:
Add a parameter to CalendarWeek to set what day the week showing starts with like this:
CalendarWeek(
controller: _controller,
height: 100,
minDate: DateTime.now().add(
Duration(days: -365),
),
maxDate: DateTime.now().add(
Duration(days: 365),
),
firstWeekDay: DateTime.monday,
)
So the above code would show the weeks starting mondays.
I'm using the onWeekChanged
event to add some logic & update some variables and if I use the setState function within this event, the calendar disappears. Firstly I thought it was due to my code, but it doesn't seem.
onWeekChanged: () {
setState(() {
// Even with this empty, the calendar will disappear
});
},
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.