FabCenterOffsetX mixin Null safety
Mixin for a "center" floating action button location, such as FloatingActionButtonLocation.centerFloat.
- Superclass Constraints
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
getOffset(
ScaffoldPrelayoutGeometry scaffoldGeometry) → Offset -
Places the FloatingActionButton based on the Scaffold's layout.
inherited
-
getOffsetX(
ScaffoldPrelayoutGeometry scaffoldGeometry, double adjustment) → double -
Calculates x-offset for center-aligned FloatingActionButtonLocations.
override
-
getOffsetY(
ScaffoldPrelayoutGeometry scaffoldGeometry, double adjustment) → double -
Obtains the y-offset to place the FloatingActionButton based on the
Scaffold's layout.
inherited
-
isMini(
) → bool -
A function returning whether this StandardFabLocation is optimized for
mini FloatingActionButtons.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited