drawer function
Drawer
drawer(
- AppModel app,
- BuildContext context, {
- required DrawerType drawerType,
- required MemberModel? member,
- Key? key,
- DrawerHeader1Attributes? header1,
- DrawerHeader2Attributes? header2,
- BackgroundModel? backgroundOverride,
- RgbModel? popupMenuBackgroundColorOverride,
- required List<
AbstractMenuItemAttributes> items,
Implementation
Drawer drawer(AppModel app, BuildContext context,
{required DrawerType drawerType,
required MemberModel? member,
Key? key,
DrawerHeader1Attributes? header1,
DrawerHeader2Attributes? header2,
BackgroundModel? backgroundOverride,
RgbModel? popupMenuBackgroundColorOverride,
required List<AbstractMenuItemAttributes> items}) =>
StyleRegistry.registry()
.styleWithApp(app)
.frontEndStyle()
.drawerStyle()
.drawer(app, context,
drawerType: drawerType,
member: member,
key: key,
header1: header1,
header2: header2,
backgroundOverride: backgroundOverride,
popupMenuBackgroundColorOverride: popupMenuBackgroundColorOverride,
items: items);