wrap method

Widget wrap(
  1. Widget child
)

Wrap the passed Widget with all Widget the WidgetWrapper has in it's Queue.

Implementation

Widget wrap(Widget child) =>
    _widgetQueue.fold(child, (child, function) => function(child));