CustomAppBar constructor
const
CustomAppBar({
- Key? key,
- required String title,
- required Color textColor,
- required double fontSize,
- required FontWeight fontWeight,
Implementation
const CustomAppBar(
{Key? key,
required this.title,
required this.textColor,
required this.fontSize,
required this.fontWeight})
: preferredSize = const Size.fromHeight(kToolbarHeight),
super(key: key);