ExtendedFloatingActionButton
Material Design extended floating action button.
Extended FABs help people take main actions. They're wider than FABs to accommodate a text label and larger target area.
The other extended floating action button overload supports a text label and icon.
Parameters
called when this FAB is clicked
the Modifier to be applied to this FAB
defines the shape of this FAB's container and shadow (when using elevation)
the color used for the background of this FAB. Use Color.Transparent to have no color.
the preferred color for content inside this FAB. Defaults to either the matching content color for containerColor, or to the current LocalContentColor if containerColor is not a color from the theme.
FloatingActionButtonElevation used to resolve the elevation for this FAB in different states. This controls the size of the shadow below the FAB. Additionally, when the container color is ColorScheme.surface, this controls the amount of main color applied as an overlay. See also: Surface.
the MutableInteractionSource representing the stream of Interactions for this FAB. You can create and pass in your own remember
ed instance to observe Interactions and customize the appearance / behavior of this FAB in different states.
the content of this FAB, typically a Text label
Material Design extended floating action button.
Extended FABs help people take main actions. They're wider than FABs to accommodate a text label and larger target area.
The other extended floating action button overload is for FABs without an icon.
Default content description for accessibility is extended from the extended fabs icon. For custom behavior, you can provide your own via Modifier.semantics.
Parameters
label displayed inside this FAB
icon to show inside the FAB
called when this FAB is clicked
the Modifier to be applied to this FAB
defines the shape of this FAB's container and shadow (when using elevation)
the color used for the background of this FAB. Use Color.Transparent to have no color.
the preferred color for content inside this FAB. Defaults to either the matching content color for containerColor, or to the current LocalContentColor if containerColor is not a color from the theme.
FloatingActionButtonElevation used to resolve the elevation for this FAB in different states. This controls the size of the shadow below the FAB. Additionally, when the container color is ColorScheme.surface, this controls the amount of main color applied as an overlay. See also: Surface.
the MutableInteractionSource representing the stream of Interactions for this FAB. You can create and pass in your own remember
ed instance to observe Interactions and customize the appearance / behavior of this FAB in different states.