Closed Plowts closed 3 years ago
@Plowts
The weekDays don't use headerTextStyle
. The headerTextStyle
is used for the Month & Year that is displayed at the top of your calendar
To change the color of your weekdays you should use weekdayTextStyle
Example:
weekdayTextStyle: TextStyle( color: Colors.green, ),
Version of flutter_calendar_carousel
flutter_calendar_carousel: ^1.5.2
Expected behavior
Modify text style of week days in header (from orange to green for example) with property headerTextStyle. Example: headerTextStyle: TextStyle( color: Colors.green, ),
Actual behavior
Property not apply on rendering
flutter doctor result ( in terminal)
PS D:> flutter doctor Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 1.22.3, on Microsoft Windows [version 10.0.18363.1256], locale fr-FR)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2) [!] Android Studio (version 4.1.0) X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality. [!] IntelliJ IDEA Community Edition (version 2019.2) X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality. [√] VS Code (version 1.52.1) [√] Connected device (1 available)
Steps to reproduce the behavior
Modify headerTextStyle property with an another color.