How to scale materialalertdialog with screen size?
Currently, I am trying to create a materialalertdialog that should scale with the screen size. For example, the text size and the buttons should get bigger on tablets than they are on normal phone screens. But whatever I do, I don't seem to achieve this behavior.
Screen Default Phone
https://i.stack.imgur.com/bhfCu.png▾
Screen Tablet (too small text, buttons etc)
https://i.stack.imgur.com/6ZS9p.png▾
Code...