I'm developing a Flutter application and I need to detect whether the device running the app has a notch or not. Is there a reliable way to determine the presence of a notch programmatically in Flutter?
I have already explored the Flutter's MediaQuery class, but I couldn't find any direct property or method that provides information about the notch. Is there any other approach or package available that can help me achieve this?
Any guidance or code snippets would be greatly appreciated. Thank you!