FoldInfo constructor
const
FoldInfo({
- required bool isFoldable,
- required FoldDisplay display,
- required FoldPose pose,
- required List<
FoldRegion> regions, - double? hingeAngle,
- FoldSizeClass horizontalSizeClass = FoldSizeClass.unspecified,
- FoldSizeClass verticalSizeClass = FoldSizeClass.unspecified,
- VerticalBarEdge verticalBarEdge = VerticalBarEdge.unspecified,
- bool isResolved = false,
Creates a fold state description.
Implementation
const FoldInfo({
required this.isFoldable,
required this.display,
required this.pose,
required this.regions,
this.hingeAngle,
this.horizontalSizeClass = FoldSizeClass.unspecified,
this.verticalSizeClass = FoldSizeClass.unspecified,
this.verticalBarEdge = VerticalBarEdge.unspecified,
this.isResolved = false,
});