SliverToBoxAdapter constructor

const SliverToBoxAdapter({Key key, Widget child })

Creates a sliver that contains a single box widget.

Implementation

const SliverToBoxAdapter({
  Key key,
  Widget child,
}) : super(key: key, child: child);