How to add taskbar widget in flutter desktop? - flutter

I want to add window taskbar widget with flutter desktop. An example would be weather widget that is optionaly displayed on the right corner of taskbar (before system tray icons).
Is there an exposed API or library to achieve that?

Related

Flutter Desktop: Disable built-in keyboard actions in a listview

Flutter desktop:
I'm successfully using the RawKeyboardListener widget to use physical arrow keys and control the listview (selects items up and down). The scaffold is wrapped in it.
The problem is the listview widget itself has built in default keyboard actions on the arrow keys that also scroll up and down. These actions that are randomly triggered in the listview when they are pressed along with my custom actions handled by the RawKeyboardListener.
Does anyone know how to disable default listview keyboard actions on flutter desktop to prevent it from listening to physical keyboard input / triggering built-in actions. Cheers.

How may i know what file or widgets in my code what i am running on my emulator

Hello I'm editing someone codes in Flutter using VS code, how can I easily find on what on I am running on my emulator. for example i am showing log in screen in the emulator. how can I know what filename did I need to edit.
as of now I am trying to check one by one of the codes. I tried to use widget tree but it is now updating
You can use the widget tree field in flutter devtool. Navigate to the desired page in the emulator and click the refresh button at the top right. The running widget stack will be listed by class names.
You can even detect a specific widget on the page using the "Choose widget mode" button.
Install and run DevTools from VS Code

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

Can I somehow show the Widget tree in a running app?

I wonder, if a plugins exists, which allows to render instead of **Widget()**s just a rectangle and a Widget()'s name, to show the layout structure of the current view.
For debugging purposes.
Does e.g. a plugin for this purpose exist?
Hm, just found the solution #quoci pointed out:
Open Flutter Inspector
Toggle select widget mode [small icon at the top]
The open the app and click on a widget of the running application.

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.