Sliver.safeArea constructor Null safety

const Sliver.safeArea(
  1. {Key? key,
  2. @Default(true) bool left,
  3. @Default(true) bool top,
  4. @Default(true) bool right,
  5. @Default(true) bool bottom,
  6. @Default(EdgeInsets.zero) EdgeInsets minimum,
  7. required Sliver sliver}
)

Implementation

const factory Sliver.safeArea({
  Key? key,
  @Default(true) bool left,
  @Default(true) bool top,
  @Default(true) bool right,
  @Default(true) bool bottom,
  @Default(EdgeInsets.zero) EdgeInsets minimum,
  required Sliver sliver,
}) = SliverSafeArea;