MdBaseFab

abstract class MdBaseFab : MdWidget, HasIconSlot

FAB represents the most important action on a screen. It puts key actions within reach.

Extended FABs help people take primary actions. They're wider than FABs to accommodate a text label and larger target area.

See https://material-web.dev/components/fab

Author

Maanrifa Bacar Ali

Inheritors

Properties

Link copied to clipboard
var label: <Error class: unknown class>

The text to display on the FAB.

Link copied to clipboard
var lowered: <Error class: unknown class>

Lowers the FAB's elevation.

Link copied to clipboard
open var parent: <Error class: unknown class>?
Link copied to clipboard
var size: <Error class: unknown class>

The size of the FAB. NOTE: Branded FABs cannot be sized to small, and Extended FABs do not have different sizes.

Link copied to clipboard
var touchTarget: <Error class: unknown class>

Touch target of (small size) FAB.

Functions

Link copied to clipboard
open fun buildAttributeSet(attributeSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun dispose()
Link copied to clipboard
open override fun icon(component: <Error class: unknown class>?)
Link copied to clipboard

Sets the icon identified by name to the icon slot.

Link copied to clipboard
open fun render(): <Error class: unknown class>