preferred_size_widget library Null safety

Based on the PreferredSizeWidget class in the Flutter SDK.

Classes

AppBar
PreferredSize
PreferredSizeWidget
TabBar