FloatingActionButtonTheme
Customizes the appearance of FloatingActionButton
across the app.
Properties
- 
          bgcolor(ColorValue | None) –Color to be used for the unselected, enabled 
- 
          disabled_elevation(Number | None) –The z-coordinate to be used for the disabled 
- 
          elevation(Number | None) –The z-coordinate to be used for the unselected, enabled 
- 
          enable_feedback(bool | None) –If specified, defines the feedback property for 
- 
          extended_padding(PaddingValue | None) –The padding for a FloatingActionButton's
- 
          extended_size_constraints(BoxConstraints | None) –Overrides the default size constraints of 
- 
          focus_color(ColorValue | None) –The color to use for filling the button when the button has input focus. 
- 
          focus_elevation(Number | None) –The z-coordinate at which to place this button relative to its parent when the 
- 
          foreground_color(ColorValue | None) –Color to be used for the unselected, enabled 
- 
          highlight_elevation(Number | None) –The z-coordinate to be used for the selected, enabled 
- 
          hover_color(ColorValue | None) –The color to use for filling the button when the button has a pointer hovering over 
- 
          hover_elevation(Number | None) –The z-coordinate at which to place this button relative to its parent when the 
- 
          icon_label_spacing(Number | None) –The spacing between the icon and the label for 
- 
          shape(OutlinedBorder | None) –Overrides the default value of 
- 
          size_constraints(BoxConstraints | None) –Overrides the default size constraints of 
- 
          splash_color(ColorValue | None) –Overrides the default value of 
- 
          text_style(TextStyle | None) –Text style merged into default text style of 
Properties#
class-attribute
      instance-attribute
  
#
bgcolor: ColorValue | None = None
Color to be used for the unselected, enabled
FloatingActionButton's background.
class-attribute
      instance-attribute
  
#
disabled_elevation: Number | None = None
The z-coordinate to be used for the disabled
FloatingActionButton's elevation foreground.
class-attribute
      instance-attribute
  
#
elevation: Number | None = None
The z-coordinate to be used for the unselected, enabled
FloatingActionButton's elevation foreground.
class-attribute
      instance-attribute
  
#
enable_feedback: bool | None = None
If specified, defines the feedback property for
FloatingActionButton.
class-attribute
      instance-attribute
  
#
extended_padding: PaddingValue | None = None
The padding for a FloatingActionButton's
that has both icon and content.
class-attribute
      instance-attribute
  
#
extended_size_constraints: BoxConstraints | None = None
Overrides the default size constraints of
FloatingActionButton that has both icon and content.
class-attribute
      instance-attribute
  
#
focus_color: ColorValue | None = None
The color to use for filling the button when the button has input focus.
class-attribute
      instance-attribute
  
#
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.
class-attribute
      instance-attribute
  
#
foreground_color: ColorValue | None = None
Color to be used for the unselected, enabled
FloatingActionButton's foreground.
class-attribute
      instance-attribute
  
#
highlight_elevation: Number | None = None
The z-coordinate to be used for the selected, enabled
FloatingActionButton's elevation foreground.
class-attribute
      instance-attribute
  
#
hover_color: ColorValue | None = None
The color to use for filling the button when the button has a pointer hovering over it.
class-attribute
      instance-attribute
  
#
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.
class-attribute
      instance-attribute
  
#
icon_label_spacing: Number | None = None
The spacing between the icon and the label for
FloatingActionButton.
class-attribute
      instance-attribute
  
#
shape: OutlinedBorder | None = None
Overrides the default value of
FloatingActionButton.shape in all
descendant FloatingActionButton controls.
class-attribute
      instance-attribute
  
#
size_constraints: BoxConstraints | None = None
Overrides the default size constraints of
FloatingActionButton that has either icon or content
and is not a mini button.
class-attribute
      instance-attribute
  
#
splash_color: ColorValue | None = None
Overrides the default value of
FloatingActionButton.splash_color in all
descendant FloatingActionButton controls.
class-attribute
      instance-attribute
  
#
text_style: TextStyle | None = None
Text style merged into default text style of
FloatingActionButton.content.