bruno icon indicating copy to clipboard operation
bruno copied to clipboard

BrnDateRangePicker.showDatePicker 主题设置不生效

Open supermebing opened this issue 1 year ago • 0 comments

问题提交

标题格式:[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

supermebing avatar Nov 13 '23 09:11 supermebing