FloatingActionButtonTheme
FloatingActionButtonTheme
#
Customizes the appearance of FloatingActionButton
across the app.
bgcolor
#
bgcolor: ColorValue | None = None
Color to be used for the unselected, enabled
FloatingActionButton
's background.
disabled_elevation
#
disabled_elevation: Number | None = None
The z-coordinate to be used for the disabled
FloatingActionButton
's elevation foreground.
elevation
#
elevation: Number | None = None
The z-coordinate to be used for the unselected, enabled
FloatingActionButton
's elevation foreground.
enable_feedback
#
enable_feedback: bool | None = None
If specified, defines the feedback property for
FloatingActionButton
.
extended_icon_label_spacing
#
extended_icon_label_spacing: Number | None = None
The spacing between the icon and the label for an extended
FloatingActionButton
.
extended_padding
#
extended_padding: PaddingValue | None = None
The padding for an extended FloatingActionButton
's
content.
extended_size_constraints
#
extended_size_constraints: BoxConstraints | None = None
Overrides the default size constraints of
extended FloatingActionButton
.
extended_text_style
#
extended_text_style: TextStyle | None = None
The text style for an extended
FloatingActionButton
.
focus_color
#
focus_color: ColorValue | None = None
The color to use for filling the button when the button has input focus.
focus_elevation
#
focus_elevation: Number | None = None
The z-coordinate at which to place this button relative to its parent when the button has the input focus.
foreground_color
#
foreground_color: ColorValue | None = None
Color to be used for the unselected, enabled
FloatingActionButton
's foreground.
highlight_elevation
#
highlight_elevation: Number | None = None
The z-coordinate to be used for the selected, enabled
FloatingActionButton
's elevation foreground.
hover_color
#
hover_color: ColorValue | None = None
The color to use for filling the button when the button has a pointer hovering over it.
hover_elevation
#
hover_elevation: Number | None = None
The z-coordinate at which to place this button relative to its parent when the button is enabled and has a pointer hovering over it.
shape
#
shape: OutlinedBorder | None = None
Overrides the default value of
FloatingActionButton.shape
in all
descendant FloatingActionButton
controls.
size_constraints
#
size_constraints: BoxConstraints | None = None
Overrides the default size constraints of
FloatingActionButton
.
splash_color
#
splash_color: ColorValue | None = None
Overrides the default value of
FloatingActionButton.splash_color
in all
descendant FloatingActionButton
controls.