mikemimik / flutter-calendar

A Calendar Widget for flutter
Other
41 stars 12 forks source link

CalendarView needs to be stateful #17

Closed mikemimik closed 7 years ago

mikemimik commented 7 years ago

This is a chain effect from EventView.

EventView needs to be stateful because when you mess with an event in that view, it should be dynamic and update. CalendarView has data represented from EventView and thus when EventView updates it's data, the CalendarView will need to be updated as well.

There is the pattern where because both of these Views are in the main widget Calendar which is stateful. Both views can have access to the state in the main widget and potentially can remain stateless.

mikemimik commented 7 years ago

28 makes this moot.