CustomDrawer constructor
const
CustomDrawer({
- Key? key,
- required String headerTitle,
- required String headerSubtitle,
- required List<
CustomDrawerItem> items, - String? copyright,
- String? contactEmail,
- String? rateUsLink,
- String? privacyLink,
- List<
String> ? socialLinks, - VoidCallback? onHeaderClick,
- String headerImageUrl = "",
- 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);