Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BrnDateRangePicker.showDatePicker 主题设置不生效 #514

Open
supermebing opened this issue Nov 13, 2023 · 0 comments
Open

BrnDateRangePicker.showDatePicker 主题设置不生效 #514

supermebing opened this issue Nov 13, 2023 · 0 comments

Comments

@supermebing
Copy link

问题提交

标题格式:[BUG]:BrnDateRangePicker.showDatePicker themeData: BrnPickerConfig 不生效

内容需包含:

1、BUG 描述

BrnDateRangePicker.showDatePicker(Get.context!,
themeData: BrnPickerConfig(
confirmTextStyle: BrnTextStyle(color: Colors.yellow),
itemTextSelectedStyle: BrnTextStyle(color: Colors.pink),
),
isDismissible: true,
// minDateTime: DateTime(2020, 06, 01, 00, 00, 00),
// maxDateTime: DateTime(2029, 07, 24, 23, 59, 59),
pickerMode: BrnDateTimeRangePickerMode.date,
minuteDivider: 10,
pickerTitleConfig: const BrnPickerTitleConfig(titleContent: "选择任务期间"),
dateFormat: 'yyyy-MM-dd',
initialStartDateTime: DateTime(DayDart().year(), DayDart().month(), 1), //当年当月 1 号
// 默认结束时间 当天
onConfirm: (startDateTime, endDateTime, startlist, endlist) {
BrnToast.show("onConfirm: $startDateTime $endDateTime $startlist $endlist", Get.context!);
})

2、复现步骤

3、期望行为
BrnPickerConfig 配置的颜色正确显示

4、运行环境

  • 运行设备
  • 系统
  • Bruno 版本
  • Flutter Doctor 信息

5、附加信息

包括视频、图片等补充信息
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant