toWidget method

  1. @override
Widget toWidget(
  1. BuildContext context
)
override

Return the associated Widget

Implementation

@override
Widget toWidget(BuildContext context) => Positioned(
    top: top,
    bottom: bottom,
    right: right,
    left: left,
    width: width,
    height: height,
    child: child()?.toWidget(context) ?? Container());