sliverBox function

Widget sliverBox(
  1. Widget widget, [
  2. bool wrap = true
])

Implementation

Widget sliverBox(Widget widget, [bool wrap = true]) =>
    wrap == true ? SliverToBoxAdapter(child: widget) : widget;