FAB
Represents a Material UI styled floating action button for primary actions.
Overview
Displays a Material UI style floating action button (FAB) at the bottom trailing edge of the screen. Use this to provide prominent action buttons in your app.
To use, apply the floatingActionButton
modifier to any view, specifying the system image, title, and action. Optionally, set a custom corner radius.
Modifers
Presents a FAB with a system symbol and title.
Presents a FAB with a system symbol and title, with a customizable corner radius.
Parameters
systemImage
The system symbol name for the button icon.
titleKey
The title key displayed on the button.
cornerRadius
The corner radius to apply to the button.
action
A closure to be executed when the button is tapped.
Example
Displays a floating action button with a system icon and title.
Displays a floating action button with a system icon, title, and a customizable corner radius.
Last updated