FloatingActionButtonTheme
Customizes the appearance of FloatingActionButton across the app.
Properties
bgcolor- Color to be used for the unselected, enabled FloatingActionButton's background.disabled_elevation- The z-coordinate to be used for the disabled FloatingActionButton's elevation foreground.elevation- The z-coordinate to be used for the unselected, enabled FloatingActionButton's elevation foreground.enable_feedback- If specified, defines the feedback property for FloatingActionButton.extended_padding- The padding for a FloatingActionButton's that has both icon and content.extended_size_constraints- Overrides the default size constraints of FloatingActionButton that has both icon and content.focus_color- The color to use for filling the button when the button has input focus.focus_elevation- The z-coordinate at which to place this button relative to its parent when the button has the input focus.foreground_color- Color to be used for the unselected, enabled FloatingActionButton's foreground.highlight_elevation- The z-coordinate to be used for the selected, enabled FloatingActionButton's elevation foreground.hover_color- The color to use for filling the button when the button has a pointer hovering over it.hover_elevation- 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.icon_label_spacing- The spacing between the icon and the label for FloatingActionButton.shape- Overrides the default value of flet.FloatingActionButton.shape in all descendant FloatingActionButton controls.size_constraints- Overrides the default size constraints of FloatingActionButton that has either icon or content and is not a mini button.splash_color- Overrides the default value of flet.FloatingActionButton.splash_color in all descendant FloatingActionButton controls.text_style- Text style merged into default text style of flet.FloatingActionButton.content.
Properties
bgcolorclass-attributeinstance-attribute
bgcolor: Optional[ColorValue] = NoneColor to be used for the unselected, enabled FloatingActionButton's background.
disabled_elevationclass-attributeinstance-attribute
disabled_elevation: Optional[Number] = NoneThe z-coordinate to be used for the disabled FloatingActionButton's elevation foreground.
elevationclass-attributeinstance-attribute
elevation: Optional[Number] = NoneThe z-coordinate to be used for the unselected, enabled FloatingActionButton's elevation foreground.
enable_feedbackclass-attributeinstance-attribute
enable_feedback: Optional[bool] = NoneIf specified, defines the feedback property for FloatingActionButton.
extended_paddingclass-attributeinstance-attribute
extended_padding: Optional[PaddingValue] = NoneThe padding for a FloatingActionButton's that has both icon and content.
extended_size_constraintsclass-attributeinstance-attribute
extended_size_constraints: Optional[BoxConstraints] = NoneOverrides the default size constraints of FloatingActionButton that has both icon and content.
focus_colorclass-attributeinstance-attribute
focus_color: Optional[ColorValue] = NoneThe color to use for filling the button when the button has input focus.
focus_elevationclass-attributeinstance-attribute
focus_elevation: Optional[Number] = NoneThe z-coordinate at which to place this button relative to its parent when the button has the input focus.
foreground_colorclass-attributeinstance-attribute
foreground_color: Optional[ColorValue] = NoneColor to be used for the unselected, enabled FloatingActionButton's foreground.
highlight_elevationclass-attributeinstance-attribute
highlight_elevation: Optional[Number] = NoneThe z-coordinate to be used for the selected, enabled FloatingActionButton's elevation foreground.
hover_colorclass-attributeinstance-attribute
hover_color: Optional[ColorValue] = NoneThe color to use for filling the button when the button has a pointer hovering over it.
hover_elevationclass-attributeinstance-attribute
hover_elevation: Optional[Number] = NoneThe z-coordinate at which to place this button relative to its parent when the button is enabled and has a pointer hovering over it.
icon_label_spacingclass-attributeinstance-attribute
icon_label_spacing: Optional[Number] = NoneThe spacing between the icon and the label for FloatingActionButton.
shapeclass-attributeinstance-attribute
shape: Optional[OutlinedBorder] = NoneOverrides the default value of flet.FloatingActionButton.shape in all descendant FloatingActionButton controls.
size_constraintsclass-attributeinstance-attribute
size_constraints: Optional[BoxConstraints] = NoneOverrides the default size constraints of FloatingActionButton that has either icon or content and is not a mini button.
splash_colorclass-attributeinstance-attribute
splash_color: Optional[ColorValue] = NoneOverrides the default value of flet.FloatingActionButton.splash_color in all descendant FloatingActionButton controls.
text_styleclass-attributeinstance-attribute
text_style: Optional[TextStyle] = NoneText style merged into default text style of flet.FloatingActionButton.content.