ModHeader constructor
const
ModHeader({
- Key? key,
- required String title,
- Widget? logo,
- bool showMenuButton = true,
- VoidCallback? onMenuPressed,
- UserProfile? userProfile,
- List<
Widget> ? actions, - bool showDefaultActions = true,
- required GlobalKey<
ScaffoldState> scaffoldKey, - Color? lightBackgroundColor,
- Color? darkBackgroundColor,
- Color? lightForegroundColor,
- 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,
});