They go through quite a few phases of not liking certain foods. My little boy is nearly 3 and has decided he no longer likes foods that he liked last week 🤨
With my little one I gave her a plate with a little of everything on it from dinner, if she chose to eat it or not that was on her but I always left the option available every single time. I never left something off the plate that she “didn’t like”. It really helped over time as she eventually tried things or retried things. As she got older too she would be curious if we had something on our plate she didn’t at a restaurant or such and I always asked if she would like some to try and I would hype it up and she usually does!
Try getting a little table or having a spot where she can come to try out or graze on food outside of mealtimes. Let her see you eat the foods she is hesitant to try. Accept that there are some foods that are just going to be a "no" for her. Be really mindful about snacks and drinks. Their stomachs are only so big and even filling up on water or milk can leave them too full to be interested in meals at mealtimes.