FabOption

fun FabOption(context: Context, orientation: Orientation? = Orientation.PORTRAIT)

Used to create a FabOption programmatically (do not use the other constructor FabOption(context, attributeSet) - it is for use by the Android framework when inflating a FabOption via XML). This constructor keeps all optional properties of a FabOption at their default values, though you can always change these values after instantiation by using the appropriate setter methods (with the exception of orientation, which cannot be changed after instantiation).

See documentation for an exhaustive list of all optional properties and their default values.

Please review the Notes documented at the top of the class for guidelines and limitations when using FabOption.

fun FabOption(context: Context, attributeSet: AttributeSet)

Called by the system when creating a FabOption via XML (don't call this directly). To create a FabOption programmatically, use the FabOption(context, orientation) constructor.