FUIButtonBlockCircleIcon

The FUIButtonBlockCircleIcon is a fully colored circle icon button. This button is comparable to Flutter’s ElevatedButton, providing a more "Bootstrap"-liked aesthetic.
As its name implies, it is a full background-colored ‘block’ styled button (similar to FUIButtonBlockTextIcon), with the icon serving as the sole label.
Widget Class Location
The FUIButtonBlockCircleIcon widget classes could be found in:
The FUIButtonTheme class is the theme class holds the default theme variables/values.
Accessing the theme
To access the theme class object, do the following:
Usage
The FUIButtonBlockCircleIcon widget is developer-friendly and requires minimal configuration. It can be utilized by providing an icon and an onPressed callback, as demonstrated below:
Changing the size
Different sizes could be configured for the FUIButtonBlockCircleIcon, namely:
Large
Medium (default)
Small
This can be accomplished by configuring the fuiButtonSize parameter, which accepts values from the FUIButtonSize enumeration.
Changing the color scheme

The FUIButtonBlockCircleIcon can be customized with a different color scheme by configuring the fuiColorScheme parameter. This parameter accepts values from the FUIColorScheme enum, allowing for flexibility in color selection.
Enabling / Disabling with Controller

The FUIButtonBlockCircleIcon enables the control of button functionality via a controller.
This can be achieved via the FUIButtonController controller.
Major Parameters
Parameters | Description |
|---|---|
Icon? icon | The icon for the button. |
FUIColorScheme fuiColorScheme | The desired color scheme of the button. |
FUIButtonSize fuiButtonSize | The desired pre-configured size of the button |
FUIButtonController? fuiButtonController | The controller to toggle enable / disable for the button. |
Color? backgroundColor | A custom background color for the button. |
Other parameters
The other parameters corresponds to the ones available in ElevatedButton.