SafaehBottomNavAwareFabLocation class
FAB location that lifts a base location above the shell's visual inset.
- Inheritance
-
- Object
- FloatingActionButtonLocation
- SafaehBottomNavAwareFabLocation
Constructors
-
const
Properties
- base → FloatingActionButtonLocation
-
final
- bottomInset → double
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getOffset(
ScaffoldPrelayoutGeometry geometry) → Offset -
Places the FloatingActionButton based on the Scaffold's layout.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
resolve(
BuildContext context, {required FloatingActionButtonLocation base, double? bottomInset}) → FloatingActionButtonLocation - Uses the nearest SafaehBottomNavScope. Without a scope, the base location is returned unchanged so standalone pages are unaffected.