1

I have an appbar in my flutter app. I'm use an padding to display a container

Padding(
padding: const EdgeInsets.only(
top: kToolbarHeight + kTextTabBarHeight,)

With Android and all iphone devices, that's ok like this image

enter image description here

But with Iphone pro 14 max and Safearea feature, my padding is not working (see image)

enter image description here

Should i have to add a constant in my padding to support "SafeArea iphone 14 max pro" feature ?

Thx

redDwarf
  • 336
  • 1
  • 9

2 Answers2

0

Can you try it with SafeArea as you mentioned also if you can share the repo link it will make things easier

Udit
  • 81
  • 5
  • Sorry but hen i talked about "Safearea" i didn't talk about safearea flutter widget but i talked about " Apple dynamic island status bar height" – redDwarf Nov 04 '22 at 08:56
0

How about kFloatingActionButtonMargin + AppBar().preferredSize.height + kTextTabBarHeight

andrepo
  • 71
  • 1
  • 2