wrapperOuter method

String? wrapperOuter(
  1. String? child
)

Implementation

String? wrapperOuter(String? child) {
  if (child == null) return null;
  if (!hasOuter) return child;

  final code = CodeConstrutor("SafeArea")
    ..add("top", _ot.toString())
    ..add("bottom", _ob.toString())
    ..add("left", _ol.toString())
    ..add("right", _or.toString())
    ..add("child", child);

  return code.generate();
}