Closed
Description
Bug description
After upgrading Flutter, the date picker widget's date and day of the week are aligned to the left.
Steps to reproduce
- Create an SfDateRangePicker object.
- Use it in the page.
Code sample
Code sample
syncfusion_flutter_datepicker: ^27.2.2
SfDateRangePicker(
monthFormat: 'M',
selectionRadius: 4,
allowViewNavigation: false,
selectionMode: DateRangePickerSelectionMode.range,
selectionShape: DateRangePickerSelectionShape.rectangle,
navigationMode: DateRangePickerNavigationMode.scroll,
navigationDirection: DateRangePickerNavigationDirection.vertical,
monthViewSettings: const DateRangePickerMonthViewSettings(
viewHeaderStyle: DateRangePickerViewHeaderStyle(
textStyle: Styles.color_333333_size_16,
),
),
monthCellStyle: const DateRangePickerMonthCellStyle(
textStyle: Styles.color_333333_size_16,
todayTextStyle: Styles.color_333333_size_16,
),
backgroundColor: ComColors.color_FFFFFF,
headerStyle: const DateRangePickerHeaderStyle(
textAlign: TextAlign.center,
textStyle: Styles.color_333333_size_16_medium,
backgroundColor: ComColors.color_FFFFFF,
),
todayHighlightColor: ComColors.color_F04343,
startRangeSelectionColor: ComColors.color_F04343,
endRangeSelectionColor: ComColors.color_F04343,
rangeSelectionColor: ComColors.color_F04343_10,
rangeTextStyle: Styles.color_F04343_size_16,
maxDate: widget.maxDate,
minDate: widget.minDate,
controller: controller,
initialSelectedRange: widget.initialSelectedRange,
),
Screenshots or Video
Screenshots / Video demonstration
Stack Traces
Stack Traces
On which target platforms have you observed this bug?
Android, iOS
Flutter Doctor output
Doctor output
Flutter (Channel [user-branch], 3.22.3, on macOS 14.2 23C64 darwin-arm64,
locale zh-Hans-CN)
! Flutter version 3.22.3 on channel [user-branch] at
/Users/xx/flutter
Currently on an unknown channel. Run `flutter channel` to switch to an
official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions
at https://flutter.dev/docs/get-started/install.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision b0850beeb2 (4 months ago), 2024-07-16 21:43:41 -0700
• Engine revision 235db911ba
• Dart version 3.4.4
• DevTools version 2.34.3
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
• If those were intentional, you can disregard the above warnings; however
it is recommended to use "git" directly to perform update checks and
upgrades.
Metadata
Metadata
Assignees
Labels
No labels