fix(ui): Fix hero icon position on mobile screens with cutouts

This commit is contained in:
Inex Code 2024-11-08 15:59:46 +03:00
parent 8775f35c0d
commit 2c11bf777d

View file

@ -183,7 +183,8 @@ class _HeroSliverAppBarState extends State<HeroSliverAppBar> {
bottom: 12.0, bottom: 12.0,
top: 16.0, top: 16.0,
), ),
background: Column( background: SafeArea(
child: Column(
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
children: [ children: [
const SizedBox(height: 72.0), const SizedBox(height: 72.0),
@ -191,6 +192,7 @@ class _HeroSliverAppBarState extends State<HeroSliverAppBar> {
], ],
), ),
), ),
),
); );
} }
} }