ScaffoldPrelayoutGeometry class

The geometry of the Scaffold after all its contents have been laid out except the FloatingActionButton.

The Scaffold passes this pre-layout geometry to its FloatingActionButtonLocation, which produces an Offset that the Scaffold uses to position the FloatingActionButton.

For a description of the Scaffold's geometry after it has finished laying out, see the ScaffoldGeometry.

Annotations

Constructors

ScaffoldPrelayoutGeometry({required Size bottomSheetSize, required double contentBottom, required double contentTop, required Size floatingActionButtonSize, required EdgeInsets minInsets, required EdgeInsets minViewPadding, required Size scaffoldSize, required Size snackBarSize, required Size materialBannerSize, required TextDirection textDirection})
Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.
const

Properties

bottomSheetSize Size
The Size of the Scaffold's BottomSheet.
final
contentBottom double
The vertical distance from the Scaffold's origin to the bottom of Scaffold.body.
final
contentTop double
The vertical distance from the Scaffold's origin to the top of Scaffold.body.
final
floatingActionButtonSize Size
The Size of Scaffold.floatingActionButton.
final
hashCode int
The hash code for this object.
no setterinherited
materialBannerSize Size
The Size of the Scaffold's MaterialBanner.
final
minInsets EdgeInsets
The minimum padding to inset the FloatingActionButton by for it to remain visible.
final
minViewPadding EdgeInsets
The minimum padding to inset interactive elements to be within a safe, un-obscured space.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaffoldSize Size
The Size of the whole Scaffold.
final
snackBarSize Size
The Size of the Scaffold's SnackBar.
final
textDirection TextDirection
The TextDirection of the Scaffold's BuildContext.
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.
inherited