createDecoratedDrawer method
CreateWidget
createDecoratedDrawer(
- AppModel app,
- BuildContext context,
- DecorationDrawerType decorationDrawerType,
- Key? originalDrawerKey,
- CreateWidget createOriginalDrawer,
- DrawerModel model,
override
Implementation
@override
CreateWidget createDecoratedDrawer(
AppModel app,
cu.BuildContext context,
DecorationDrawerType decorationDrawerType,
cu.Key? originalDrawerKey,
CreateWidget createOriginalDrawer,
DrawerModel model) {
var createWidget = createOriginalDrawer;
for (var registeredDecoration in registeredDecorations) {
createWidget = registeredDecoration.createDecoratedDrawer(app, context,
decorationDrawerType, originalDrawerKey, createWidget, model);
}
return createWidget;
}