CodeNestDrawer constructor

const CodeNestDrawer({
  1. Key? key,
  2. required String userName,
  3. required String userEmail,
  4. required String profileImageUrl,
  5. required String profilePlaceHolderAssetPath,
  6. required String profileErrorAssetPath,
  7. required List<CodeNestDrawerItem> items,
  8. Widget separatorBuilder(
    1. BuildContext,
    2. int
    )?,
  9. Color headerBackgroundColor = const Color(0xFF4A90E2),
  10. TextStyle? listTileTextStyle,
  11. double profileImageHeight = 60,
  12. double profileImageWidth = 60,
  13. 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,
});