Appearance
The FloatingToolBar lets you customize its size and fill mode.
The following example demonstrates the available appearance options of the FloatingToolBar.
Size
To specify the size of the FloatingToolBar, use the size property. It accepts values of type ToolbarSize.
The available size values are:
smallmediumlarge
If you do not set size, the currently applied theme controls the size.
The following example demonstrates the available size values side by side.
Fill Mode
To set the fill mode of the ToolBar hosted inside the FloatingToolBar, use the fillMode property. It accepts values of type ToolbarFillMode.
The available fill-mode values are:
solidflatoutline
If you do not set fillMode, the currently applied theme controls the fill mode.
The FloatingToolBar forwards
fillModeto its hosted ToolBar, but does not pass it to child tools. SetfillModeon each child button to apply a fill mode to those buttons as well.
The following example applies each available fillMode value to the FloatingToolBar and its child tools.