AppDrawer constructor
const
AppDrawer({
- Key? key,
- required String headerTitle,
- required List<
DrawerItem> items, - String? headerSubtitle,
- Widget? headerIcon,
- Color? itemBackgroundColor,
- Color? headerBackgroundColor,
- TextStyle? headerTitleStyle,
- TextStyle? headerSubtitleStyle,
- double topRightRadius = 5,
- double bottomRightRadius = 5,
- EdgeInsetsGeometry? headerPadding,
- 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,
});