sliverResponsive method Null safety

List<Widget> sliverResponsive(
  1. {double maxWidth = kDefaultResponsiveWidth,
  2. ResponsiveSliverMaxWidth? calculated}
)

Implementation

List<Widget> sliverResponsive({
  double maxWidth = kDefaultResponsiveWidth,
  ResponsiveSliverMaxWidth? calculated,
}) {
  return [
    for (var self in this)
      ResponsiveSliverConstraint(
        sliver: self,
        maxWidth: maxWidth,
        calculated: calculated,
      ),
  ];
}