Custom bottom navigation bar notch problem in iphone 12 mini

0
68

[ad_1]

Custom bottom navigation bar show above notch in phone 12 mini

How to make custom navigation bar like default navigation bar to adopt notch problem

Code:

Scaffold(
        floatingActionButtonLocation: FloatingActionButtonLocation
            .startDocked, //specify the location of the FAB
        floatingActionButton: FloatingActionButton(
          backgroundColor: Colors.blue,
          onPressed: () {
            print('OK');
          },
          tooltip: "start FAB",
          child: Container(
            height: 60,
            margin: EdgeInsets.all(15.0),
            child: Icon(Icons.add),
          ),
          elevation: 4.0,
        ),
        bottomNavigationBar: BottomAppBar(
          child: Container(
            color: Colors.lightBlue,
            height: 60,
          ),
        ));

[ad_2]