SolidNavDrawer constructor

const SolidNavDrawer({
  1. Key? key,
  2. SolidNavUserInfo? userInfo,
  3. required List<SolidNavTab> tabs,
  4. required int selectedIndex,
  5. required void onTabSelected(
    1. int
    ),
  6. void onLogout(
    1. BuildContext
    )?,
  7. IconData? logoutIcon,
  8. String? logoutText,
  9. bool showLogout = true,
  10. List<Widget>? additionalMenuItems,
  11. ShapeBorder? drawerShape,
})

Implementation

const SolidNavDrawer({
  super.key,
  this.userInfo,
  required this.tabs,
  required this.selectedIndex,
  required this.onTabSelected,
  this.onLogout,
  this.logoutIcon,
  this.logoutText,
  this.showLogout = true,
  this.additionalMenuItems,
  this.drawerShape,
});