toWidget method

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

Implementation

@override
SafeArea toWidget(AnyWidgetContext context) {
  return SafeArea(
    child: child.toWidget(context),
    key: key?.toFlutter(context),
    left: left ?? true,
    top: top ?? true,
    right: right ?? true,
    bottom: bottom ?? true,
    minimum: minimum?.toFlutter(context) ?? EdgeInsets.zero,
    maintainBottomViewPadding: maintainBottomViewPadding ?? false,
  );
}