PickerTitle constructor

PickerTitle({
  1. Key? key,
  2. required DateVoidCallback onCancel,
  3. required DateVoidCallback onConfirm,
  4. PickerTitleConfig pickerTitleConfig = PickerTitleConfig.Default,
  5. PickerConfig? themeData,
})

Implementation

PickerTitle({
  Key? key,
  required this.onCancel,
  required this.onConfirm,
  this.pickerTitleConfig = PickerTitleConfig.Default,
  this.themeData,
}) : super(key: key) {
  themeData ??= PickerConfig();
  themeData = BaseThemeConfig.instance
      .getConfig(configId: themeData!.configId)
      .pickerConfig
      .merge(themeData);
}