preferredSize property

  1. @override
Size get preferredSize
override

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());