createDecoratedDrawer method

  1. @override
CreateWidget createDecoratedDrawer(
  1. AppModel app,
  2. BuildContext context,
  3. DecorationDrawerType decorationDrawerType,
  4. Key? originalDrawerKey,
  5. CreateWidget createOriginalDrawer,
  6. 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;
}