CodeNestDrawer constructor
const
CodeNestDrawer({
- Key? key,
- required String userName,
- required String userEmail,
- required String profileImageUrl,
- required String profilePlaceHolderAssetPath,
- required String profileErrorAssetPath,
- required List<
CodeNestDrawerItem> items, - Widget separatorBuilder()?,
- Color headerBackgroundColor = const Color(0xFF4A90E2),
- TextStyle? listTileTextStyle,
- double profileImageHeight = 60,
- double profileImageWidth = 60,
- double profileImageRadius = 30,
Implementation
const CodeNestDrawer({
super.key,
required this.userName,
required this.userEmail,
required this.profileImageUrl,
required this.profilePlaceHolderAssetPath,
required this.profileErrorAssetPath,
required this.items,
this.separatorBuilder,
this.headerBackgroundColor = const Color(0xFF4A90E2),
this.listTileTextStyle,
this.profileImageHeight = 60,
this.profileImageWidth = 60,
this.profileImageRadius = 30,
});