How to expand appbar to show text inside app bar on click of action icon ion flutter? - flutter

I am building a app activity which has an app bar which has an icon in the center of the appbar and some text. I want to be able to show the text below t the icon with some transition inside the appbar on click of the icon mentioned before and make it disappear it is already showing.
I tried using sliver but I need the transition to happen with click event not scroll up and down event.

Related

Beautiful and responsive "dropdown menu" / "pop-up" flutter

Please see the photos attached for the feature, or simply head to https://www.chrislorenzomusic.com and resize the window until you see the dropdown menu in top right corner appears and click on the menu to see the effect.
I'm not sure what this effect or feature is called, but was wondering what it's called and if it was possible to make something similar in flutter?
Before resizing the window
After resizing window the menu at top right corner appears
When clicking on the menu
When an app or widget behaves differently depending on the screen size or orientation it is considered responsive or has a responsive layout.
https://docs.flutter.dev/development/ui/layout/adaptive-responsive
The Menu itself can be created using a Scaffold with an AppBar and a Drawer. You can configure the AppBar to have the menu icon or the links depending on the size using LayoutBuilder and MediaQuery.of.
AppBar
https://material.io/components/app-bars-top
Drawer
https://material.io/components/navigation-drawer

is it possible to hide the android emulator buttom back and home bar in flutter

I am using flutter to write a page, but now I am facing a problem the android button back/home/menu bar was overlay my UI button. Looks like this:
I could not click my UI button because the android emulator system menu was overlaying on my UI, what should I do to close the android button bar or make it auto-hide?
to hide navigation bar use SystemChrome.setEnabledSystemUIOverlays([]) witch hides both the status bar and the navigation bar.
to show it use SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values);
or you can wrap the Widget with SafeArea

I want to make a container under app bar which works like a secondary App Bar where I can put my back icon button and title in the center in flutter

I have tried everything. But I can't find a permanent solution How to put the title in the center while my back icon button on the left side. I want to use this secondary app bar on every screen of my app.
Please check the image below for a better understanding.
This is the problem that I am facing
Take a ListView Widget at body of Scaffold and in its children put first widget as a ListTile that comes under AppBar. So that there will be a leading icon and title in center. After that take a Column and add your needed widgets for every page.

Is there a way to hide Status Bar as soon as the Drawer opens in Flutter?

I'm trying to hide the status bar as soon as the drawer opens just like the google maps app on iOS.
Also, can I change the height of drawer header? Right now it's taking a third of the drawer itself.
Cheers

Where is magnifying glass button came from

During inspecting scaffold Flutter project (without any modification) with Flutter Inspector in some cases of toggling widgets in left bottom corner magnifying glass button appear.
Where is it come from and what is its purpose?
Attached screenshots show that this button exists only on Render Tree tab.
This button appears only after you turned on "Select Widget Mode" in Flutter Inspector and selected a first widget to inspect. In order to inspect another widget you first need to tap the magnifier FAB.