ModHeader constructor

const ModHeader({
  1. Key? key,
  2. required String title,
  3. bool showMenuButton = true,
  4. VoidCallback? onMenuPressed,
  5. UserProfile? userProfile,
  6. List<Widget>? actions,
  7. bool showDefaultActions = true,
  8. required GlobalKey<ScaffoldState> scaffoldKey,
  9. Color? lightBackgroundColor,
  10. Color? darkBackgroundColor,
  11. Color? lightForegroundColor,
  12. Color? darkForegroundColor,
})

Implementation

const ModHeader({
  super.key,
  required this.title,
  this.logo,
  this.showMenuButton = true,
  this.onMenuPressed,
  this.userProfile,
  this.actions,
  this.showDefaultActions = true,
  required this.scaffoldKey,
  this.lightBackgroundColor,
  this.darkBackgroundColor,
  this.lightForegroundColor,
  this.darkForegroundColor,
});