ResponsiveSliverConstraint.ofBox constructor
ResponsiveSliverConstraint.ofBox({
- Key? key,
- required Widget child,
- ResponsiveSliverMaxWidth? calculated,
- double maxWidth = kDefaultResponsiveWidth,
Implementation
ResponsiveSliverConstraint.ofBox({
Key? key,
required Widget child,
this.calculated,
this.maxWidth = kDefaultResponsiveWidth,
}) : sliver = sliverBox(child),
super(key: key);