preferredSize property
Standard overridden method of PreferredSizeWidget.
return Size of this widget with:
- height = toolbarHeight + bottom.height
- width = toolbarWidth
Implementation
@override
Size get preferredSize => Size(toolbarWidth,
(toolbarHeight ?? kToolbarHeight) + (bottom?.preferredSize.height ?? 0));