SliverToBoxAdapter constructor Null safety

const SliverToBoxAdapter(
  1. {Key? key,
  2. Widget? child}
)

Creates a sliver that contains a single box widget.

Implementation

const SliverToBoxAdapter({
  super.key,
  super.child,
});