[AppBar] Get AppBar height
See original GitHub issueAppBar
height dynamically changes depending on the browser window width. How can I get its height to set margin for the content when AppBar
is absolutely positioned?
Tech | Version |
---|---|
Material-UI | 1.0.0-beta.37 |
React | 16.2.0 |
Issue Analytics
- State:
- Created 6 years ago
- Reactions:14
- Comments:17 (6 by maintainers)
Top Results From Across the Web
How to get AppBar height in Flutter - Stack Overflow
AppBar has a fixed height of 56. You should create your own appbar implementing PreferredSizeWidget class ...
Read more >How to Get AppBar Height In Flutter?
Firstly declare the AppBar widget that you will use in your Scaffold. ... Now you can get the height of your appBar using...
Read more >How to Set Height of AppBar on Flutter - Flutter Campus
In this example, we are going to show you the easiest way to set the height of AppBar on Flutter app. We will...
Read more >toolbarHeight property - AppBar class - material library - Dart API
Defines the height of the toolbar component of an AppBar. By default, the value of toolbarHeight is kToolbarHeight. Implementation. final double?
Read more >Flutter: Get the Heights of AppBar and CupertinoNavigationBar
This article is about the heights of the AppBar (material app bar) and CupertinoNavigationBar (iOS-style app bar) in Flutter. Height of a ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A hook I’ve created to get the app bar height that replicates the height SxProps setting of the AppBar:
@lukejagodzinski I believe your question has already be answered in https://github.com/mui-org/material-ui/issues/10076#issuecomment-361232810.