preferredSize property
Specifies the preferred height of the AppBar.
The height is determined dynamically using TDeviceUtils.getAppBarHeight() to ensure consistency across devices.
Implementation
@override
Size get preferredSize => Size.fromHeight(TDeviceUtils.getAppBarHeight());