iamvivekkaushik / DatePickerTimelineFlutter

Flutter Date Picker Library that provides a calendar as a horizontal timeline
Apache License 2.0
286 stars 203 forks source link

Text color not changing on dark mode #38

Closed nidhinmahesh closed 4 years ago

nidhinmahesh commented 4 years ago

Describe the bug Dark mode do not change the black text color of dates. Also there is no option to change color of dates which are not selected.

iamvivekkaushik commented 4 years ago

Hi @nidhinmahesh, This currently does not support the dark mode. However, you can override the text color for both selected or non selected items. Check the constructor and pass these parameters values

DatePicker(
    this.startDate,
    this.monthTextStyle = TextStyle(),
    this.dayTextStyle = TextStyle(),
    this.dateTextStyle = TextStyle()
}