Hi inazshafeek07,
Do you recall if there were any changes or updates to your Mac prior to when the display started flickering? Also, does it only do it in a specific app or across any app or at the desktop as well?
If the issue is resolved in safe mode, it usually means there's an app or process that is contributing to the issue in normal mode. We can recommend looking through System Settings > General > Login Items and see what apps start automatically when your computer does and if need be, disable them. Then test again.
See more info here:
Remove login items to resolve startup problems on your Mac
Finally, if there are any peripherals connected to your MacBook except for the charger, remove them as well and test if the problem persists.
Cheers!