PrimaryHeader constructor

const PrimaryHeader({
  1. Key? key,
  2. required String title,
  3. TextStyle? titleStyle,
  4. String? subtitle,
  5. TextStyle? subtitleStyle,
  6. List<Widget> actions = const [],
  7. List<Widget> menuItems = const [],
  8. Widget? leading,
  9. Widget? trailing,
  10. Widget? menuButton,
  11. bool includeDivider = true,
})

Implementation

const PrimaryHeader(
    {super.key,
    required this.title,
    this.titleStyle,
    this.subtitle,
    this.subtitleStyle,
    this.actions = const [],
    this.menuItems = const [],
    this.leading,
    this.trailing,
    this.menuButton,
    this.includeDivider = true});