SheetLayoutSpec class
Geometry of the viewport and the layout constraints used to lay out the sheet and its content.
- Annotations
Constructors
- SheetLayoutSpec({required Size viewportSize, required EdgeInsets viewportPadding, required EdgeInsets contentMargin})
-
Creates a layout specification for the sheet and its content.
const
Properties
- contentMargin → EdgeInsets
-
The margin by which the content insets the sheet.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxContentRect → Rect
-
The maximum rectangle that the sheet's content can occupy
within the viewport.
no setter
- maxSheetRect → Rect
-
The maximum rectangle that the sheet can occupy within the viewport.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- viewportPadding → EdgeInsets
-
The padding by which the viewport insets the sheet.
final
- viewportSize → Size
-
The size of the viewport, which is the rectangle
where the sheet is laid out.
final
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.
override