SheetPresentationControllerConfiguration class

The configuration to show SFSafariViewController as a page sheet.

  • Availability: iOS15.0+

See also:

Annotations

Constructors

SheetPresentationControllerConfiguration({required Set<SheetPresentationControllerDetent> detents, SheetPresentationControllerDetent? largestUndimmedDetentIdentifier, bool? prefersScrollingExpandsWhenScrolledToEdge, bool? prefersGrabberVisible, bool? prefersEdgeAttachedInCompactHeight, double? preferredCornerRadius})
const

Properties

detents Set<SheetPresentationControllerDetent>
The set of heights where a sheet can rest.
final
hashCode int
The hash code for this object.
no setterinherited
largestUndimmedDetentIdentifier SheetPresentationControllerDetent?
The largest detent that doesn’t dim the view underneath the sheet.
final
preferredCornerRadius double?
The corner radius that the sheet attempts to present with.
final
prefersEdgeAttachedInCompactHeight bool?
A Boolean value that determines whether the sheet attaches to the bottom edge of the screen in a compact-height size class.
final
prefersGrabberVisible bool?
A Boolean value that determines whether the sheet shows a grabber at the top.
final
prefersScrollingExpandsWhenScrolledToEdge bool?
A Boolean value that determines whether scrolling expands the sheet to a larger detent.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited