withSliverPadding method

Widget withSliverPadding(
  1. EdgeInsetsGeometry padding
)

Wrap this widget with a sliver padding for a given EdgeInsetsGeometry

Implementation

Widget withSliverPadding(EdgeInsetsGeometry padding) {
  return SliverPadding(padding: padding, sliver: this);
}