Source Icon Button
Source icon-only button.
Parameters
The icon to display in the button. Use an icon from Source.Icons or Material Icons.
The priority of the button. Informs users of how important an action is.
The content description for the button.
The action to perform when the button is clicked.
The modifier to apply to the button.
Whether the button is enabled and can be interacted with.
Optional size for the button. Reflects the prominence of the action. Defaults to SourceButton.Size.Medium.
Optional Source.Theme to apply to the button. If not provided, the current theme from LocalSourceTheme will be used.
Unless using the button as a standalone component, it is recommended to wrap the whole screen/sheet with SourceCoreTheme or ReaderRevenueTheme to provide consistent theme to all child components once.
Source icon-only button.
Parameters
The icon to display in the button.
The priority of the button. Informs users of how important an action is.
The content description for the button.
The action to perform when the button is clicked.
The modifier to apply to the button.
Whether the button is enabled and can be interacted with.
Optional size for the button. Reflects the prominence of the action. Defaults to SourceButton.Size.Medium.
Optional Source.Theme to apply to the button. If not provided, the current theme from LocalSourceTheme will be used.
Unless using the button as a standalone component, it is recommended to wrap the whole screen/sheet with SourceCoreTheme or ReaderRevenueTheme to provide consistent theme to all child components once.
Source icon-only button.
Parameters
The icon to display in the button.
The priority of the button. Informs users of how important an action is.
The content description for the button.
The action to perform when the button is clicked.
The modifier to apply to the button.
Whether the button is enabled and can be interacted with.
Optional size for the button. Reflects the prominence of the action. Defaults to SourceButton.Size.Medium.
Optional Source.Theme to apply to the button. If not provided, the current theme from LocalSourceTheme will be used.
Unless using the button as a standalone component, it is recommended to wrap the whole screen/sheet with SourceCoreTheme or ReaderRevenueTheme to provide consistent theme to all child components once.