Fab

constructor(icon: String? = null, floatPosition: FloatPosition? = null, content: String? = null, rich: Boolean = false, className: String? = null, init: Fab.() -> Unit? = null)

Creates a floating action button component.

Parameters

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

className

CSS class names

init

an initializer extension function