Sliver.padding constructor Null safety

const Sliver.padding(
  1. {Key? key,
  2. required EdgeInsets padding,
  3. Sliver? sliver}
)

Implementation

const factory Sliver.padding({
  Key? key,
  required EdgeInsets padding,
  Sliver? sliver,
}) = SliverPadding;