ScaffoldPrelayoutGeometry class
The geometry of the Scaffold after all its contents have been laid out except the FloatingActionButton.
The Scaffold passes this prelayout 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
- @immutable
Constructors
- ScaffoldPrelayoutGeometry({@required Size bottomSheetSize, @required double contentBottom, @required double contentTop, @required Size floatingActionButtonSize, @required EdgeInsets minInsets, @required Size scaffoldSize, @required Size snackBarSize, @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
- minInsets → EdgeInsets
-
The minimum padding to inset the FloatingActionButton by for it
to remain visible. [...]
final
- 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
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited