Fab(icon: String? = null, floatPosition: FloatPosition? = null, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (Fab.() -> Unit)? = null)
Creates a floating action button component.
icon
- the name of the icon placed on the button
floatPosition
- a position of the button
content
- the content the button.
rich
- whether content can contain HTML code
classes
- a set of CSS class names
init
- an initializer extension function
Constructor
Creates a floating action button component.