AppDrawer constructor

const AppDrawer({
  1. Key? key,
  2. required String headerTitle,
  3. required List<DrawerItem> items,
  4. String? headerSubtitle,
  5. Widget? headerIcon,
  6. Color? itemBackgroundColor,
  7. Color? headerBackgroundColor,
  8. TextStyle? headerTitleStyle,
  9. TextStyle? headerSubtitleStyle,
  10. double topRightRadius = 5,
  11. double bottomRightRadius = 5,
  12. EdgeInsetsGeometry? headerPadding,
  13. EdgeInsetsGeometry? itemPadding,
})

Implementation

const AppDrawer({
  super.key,
  required this.headerTitle,
  required this.items,
  this.headerSubtitle,
  this.headerIcon,
  this.itemBackgroundColor,
  this.headerBackgroundColor,
  this.headerTitleStyle,
  this.headerSubtitleStyle,
  this.topRightRadius = 5,
  this.bottomRightRadius = 5,
  this.headerPadding,
  this.itemPadding,
});