CustomAppBar constructor

const CustomAppBar({
  1. Key? key,
  2. required String title,
  3. required Color textColor,
  4. required double fontSize,
  5. 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);