Skyost / FlutterWeekView

Displays a highly customizable week view (or day view) which is able to display events, to be scrolled, to be zoomed-in & out and a lot more !
https://pub.dev/packages/flutter_week_view
MIT License
208 stars 89 forks source link

Is it possible to use DayView without a DayBar? #60

Closed mgutsche closed 4 years ago

mgutsche commented 4 years ago

Is your feature request related to a problem? Please describe. As far as I know it is currently not possible to use DayView without a DayBar. I have an application where the date is already shown as part of the AppBar, so I don't need a DayBar.

Describe the solution you'd like For this reason I'd like DayViews constructor to accept an argument that results in DayView not beeing built.

Describe alternatives you've considered I've looked through the constructors of DayView and DayBarStyle but didn't find anything that could accomplish what I need. In case I've missed something, I would be very grateful if you could provide an alternative way to accomplish this.

Skyost commented 4 years ago

@martingutsche Try to pass headerSize: 0 to either DayViewStyle or WeekViewStyle constructor.

mgutsche commented 4 years ago

@Skyost That works for me, thank you :1st_place_medal: