FAB

Last Updated On 2021-07-16

Version 1MinSDK 7Tutorial Video

A new component


Properties

You can set the below properties in the UI part of the builder.

  • BackgroundColor - it's a color value which is set to &hffffafaf by default.
  • Extended - it's a boolean value which is set to blank by default.
  • HeihMargin - it's a four value which is set to 0,0,0,0 by default.
  • HeihPadding - it's a four value which is set to 0,0,0,0 by default.
  • Icon - it's a asset value which is set to blank by default.
  • Text - it's a string value which is set to blank by default.
  • TextColor - it's a color value which is set to &hff000000 by default.

Block Properties

You can set the below blocks properties in the blocks section of the builder.

BackgroundColor

Set background color


Extended

Set extended


Icon

Sets the icon


Text

Sets the text


TextColor

Set text color



Methods

You can set the below method blocks in the blocks section of the builder.

Extend

Shows the FAB

Hide

Hides the FAB

Show

Shows the FAB

Shrink

Shrinks the FAB


Events

You can set the below event blocks in the blocks section of the builder.

Click

Invokes when fab clicked

LongClick

Invokes when fab long clicked