FABLocation enum
Specifies the relative location of a FAB.
Values
- startTop → const FABLocation
-
Start-aligned
FloatingActionButton
, floating over the transition between the Scaffold appBar and the Scaffold body. See Flutter docs for more info.const FABLocation('Start Top')
- miniStartTop → const FABLocation
-
Start-aligned
FloatingActionButton
, floating over the transition between the Scaffold appBar and the Scaffold body, optimized for mini floating action buttons. See Flutter docs for more info.const FABLocation('Mini Start Top')
- centerTop → const FABLocation
-
Centered
FloatingActionButton
, floating over the transition between the Scaffold appBar and the Scaffold body. See Flutter docs for more info.const FABLocation('Center Top')
- miniCenterTop → const FABLocation
-
Centered
FloatingActionButton
, floating over the transition between the Scaffold appBar and the Scaffold body, intended to be used withFloatingActionButton.mini
set to true. See Flutter docs for more info.const FABLocation('Mini Center Top')
- endTop → const FABLocation
-
End-aligned
FloatingActionButton
, floating over the transition between the Scaffold appBar and the Scaffold body. See Flutter docs for more info.const FABLocation('End Top')
- miniEndTop → const FABLocation
-
End-aligned
FloatingActionButton
, floating over the transition between the Scaffold appBar and the Scaffold body, optimized for mini floating action buttons. See Flutter docs for more info.const FABLocation('Mini End Top')
- startFloat → const FABLocation
-
Start-aligned
FloatingActionButton
, floating at the bottom of the screen. See Flutter docs for more info.const FABLocation('Start Float')
- miniStartFloat → const FABLocation
-
Start-aligned
FloatingActionButton
, floating at the bottom of the screen, optimized for mini floating action buttons. See Flutter docs for more info.const FABLocation('Mini Start Float')
- centerFloat → const FABLocation
-
Centered
FloatingActionButton
, floating at the bottom of the screen. See Flutter docs for more info.const FABLocation('Center Float')
- miniCenterFloat → const FABLocation
-
Centered
FloatingActionButton
, floating at the bottom of the screen, optimized for mini floating action buttons. See Flutter docs for more info.const FABLocation('Mini Center Float')
- endFloat → const FABLocation
-
End-aligned
FloatingActionButton
, floating at the bottom of the screen. See Flutter docs for more info.const FABLocation('End Float')
- miniEndFloat → const FABLocation
-
End-aligned
FloatingActionButton
, floating at the bottom of the screen, optimized for mini floating action buttons. See Flutter docs for more info.const FABLocation('Mini End Float')
- startDocked → const FABLocation
-
Start-aligned
FloatingActionButton
, floating over theScaffold.bottomNavigationBar
so that the center of the floating action button lines up with the top of the bottom navigation bar. See Flutter docs for more info.const FABLocation('Start Docked')
- miniStartDocked → const FABLocation
-
Start-aligned
FloatingActionButton
, floating over theScaffold.bottomNavigationBar
so that the center of the floating action button lines up with the top of the bottom navigation bar, optimized for mini floating action buttons. See Flutter docs for more info.const FABLocation('Mini Start Docked')
- centerDocked → const FABLocation
-
Centered
FloatingActionButton
, floating over theScaffold.bottomNavigationBar
so that the center of the floating action button lines up with the top of the bottom navigation bar. See Flutter docs for more info.const FABLocation('Center Docked')
- miniCenterDocked → const FABLocation
-
Centered
FloatingActionButton
, floating over theScaffold.bottomNavigationBar
so that the center of the floating action button lines up with the top of the bottom navigation bar; intended to be used withFloatingActionButton.mini
set to true. See Flutter docs for more info.const FABLocation('Mini Center Docked')
- endDocked → const FABLocation
-
End-aligned
FloatingActionButton
, floating over theScaffold.bottomNavigationBar
so that the center of the floating action button lines up with the top of the bottom navigation bar. See Flutter docs for more info.const FABLocation('End Docked')
- miniEndDocked → const FABLocation
-
End-aligned
FloatingActionButton
, floating over theScaffold.bottomNavigationBar
so that the center of the floating action button lines up with the top of the bottom navigation bar, optimized for mini floating action buttons. See Flutter docs for more info.const FABLocation('Mini End Docked')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isMini → bool
-
Whether this location is for mini FAB.
no setter
- label → String
-
Displayable string representation of this enum.
final
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
FABLocation> - A constant List of the values in this enum, in order of their declaration.