japalekhin / langaw

A sample project for following along a tutorial found on jap.alekhin.io.
Other
109 stars 37 forks source link

iOS / Android safearea #2

Closed mars3142 closed 4 years ago

mars3142 commented 5 years ago

What will be the best practice to move the MusicButton, SoundButton and ScoreDisplay within the safe area? The same is needed at the bottom of the screen. Does flame supports a safe area? It's needed for iPhone X/Xs and newer Android phones, with a notch/cutout.

japalekhin commented 4 years ago

@mars3142 heyi sorry, i know this is almost a year old. but flame is just another widget (via gameInstance.widget) so you just wrap that with a SafeArea and it should work.