FloatingActionButtonLocation class

An object that defines a position for the FloatingActionButton based on the Scaffold's ScaffoldPrelayoutGeometry.

Flutter provides FloatingActionButtonLocations for the common FloatingActionButton placements in Material Design applications. These locations are available as static members of this class.

See also:

Constructors

FloatingActionButtonLocation()
Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.
const

Properties

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

getOffset(ScaffoldPrelayoutGeometry scaffoldGeometry) Offset
Places the FloatingActionButton based on the Scaffold's layout. [...]
toString() String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

centerFloat → const FloatingActionButtonLocation
Centered FloatingActionButton, floating at the bottom of the screen.
const _CenterFloatFabLocation()
endFloat → const FloatingActionButtonLocation
End-aligned FloatingActionButton, floating at the bottom of the screen. [...]
const _EndFloatFabLocation()