CustomDrawer constructor

const CustomDrawer({
  1. Key? key,
  2. required String headerTitle,
  3. required String headerSubtitle,
  4. required List<CustomDrawerItem> items,
  5. String? copyright,
  6. String? contactEmail,
  7. String? rateUsLink,
  8. String? privacyLink,
  9. Widget? footer,
  10. List<String>? socialLinks,
  11. VoidCallback? onHeaderClick,
  12. String headerImageUrl = "",
  13. bool showThemeSwitch = false,
})

Implementation

const CustomDrawer({
  Key? key,
  required this.headerTitle,
  required this.headerSubtitle,
  required this.items,
  this.copyright,
  this.contactEmail,
  this.rateUsLink,
  this.privacyLink,
  this.footer,
  this.socialLinks,
  this.onHeaderClick,
  this.headerImageUrl = "",
  this.showThemeSwitch = false,
}) : super(key: key);