PickerTitle constructor
PickerTitle({
- Key? key,
- required DateVoidCallback onCancel,
- required DateVoidCallback onConfirm,
- PickerTitleConfig pickerTitleConfig = PickerTitleConfig.Default,
- 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);
}