toWidget method

  1. @override
Drawer toWidget(
  1. AnyWidgetContext context
)
override

Implementation

@override
Drawer toWidget(AnyWidgetContext context) {
  return Drawer(
    key: key?.toFlutter(context),
    backgroundColor: backgroundColor?.toFlutter(context),
    child: child?.toWidget(context),
    elevation: elevation,
    semanticLabel: semanticLabel,
    shape: shape?.toFlutter(context),
  );
}