SliverSafeAreaModifier constructor
const
SliverSafeAreaModifier({})
Creates a sliver that avoids operating system interfaces.
The left
, top
, right
, bottom
, and minimum
arguments must not be null.
Implementation
const SliverSafeAreaModifier({
super.key,
Widget? sliver,
super.modifierKey,
this.left = true,
this.top = true,
this.right = true,
this.bottom = true,
this.minimum = EdgeInsets.zero,
}) : super(child: sliver);