Lv_list_set_style background not declared error

I am using esp32 wrover module and ili9488 lcd display

I am using LVGL version 8.3.3

I want the background color of the list I made to change. But while writing the code it says LV_LIST_STYLE_BG and lv_list_set_style are not declared. I couldn’t figure out where the problem is. i am new to this.Also, I have a request, there are few resources on this subject, I would appreciate it if you could explain the answer to this subject with an example.
It also gives an error when I try the shared examples.

list1 = lv_list_create(ui_Panel17);
lv_style_t style;
lv_style_set_width(&style, 306);
lv_style_set_height(&style, 246);
lv_style_set_x(&style, 0);
lv_style_set_y(&style, 98);
lv_style_set_bg_color(&style, lv_color_hex(0x1746A2));
lv_obj_set_size(list1, 180, 220);
lv_list_set_style(list1, LV_LIST_STYLE_BG , &style);