preferredSize property

  1. @override
Size get preferredSize
override

The preferred size required by Scaffold.appBar.

Uses the standard kToolbarHeight.

Implementation

@override
Size get preferredSize => const Size.fromHeight(kToolbarHeight);