juicycleff / flutter-unity-view-widget

Embeddable unity game engine view for Flutter. Advance demo here https://github.com/juicycleff/flutter-unity-arkit-demo
BSD 3-Clause "New" or "Revised" License
2.09k stars 505 forks source link

Flutter App Bar jump and get bigger in height #873

Closed zubair999 closed 10 months ago

zubair999 commented 10 months ago

Describe the bug When I open unity game the Flutter AppBar jump up and down and take more height, it's looks it is taking status bar height

Screenshots

https://github.com/juicycleff/flutter-unity-view-widget/assets/30196482/f8979bcd-8d13-40a3-b9ed-8170dfe9cb12

**Flutter Version Flutter 3.10.6 • channel stable • https://github.com/flutter/flutter.git Framework • revision f468f3366c (8 weeks ago) • 2023-07-12 15:19:05 -0700 Engine • revision cdbeda788a Tools • Dart 3.0.6 • DevTools 2.23.1

Unity (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

timbotimbo commented 10 months ago

There is a setting in the unity player settings, something like extend into safe area.

Try enabling that option.

zubair999 commented 10 months ago

There is a setting in the unity player settings, something like extend into safe area.

Try enabling that option.

Yea I checked it and it worked.