Widget Documentation: LMFeedIcon
Widget: LMFeedIcon
The LMFeedIcon is a customizable icon widget designed to handle active and inactive states with support for tinting, scaling, and padding.
View Style: LMFeedIconStyle
The LMFeedIconStyle defines the appearance and layout properties for the LMFeedIcon, allowing customization for active and inactive states, icon tinting, padding, and background color.
| Field | Description | Type |
|---|---|---|
| activeSrc | Specifies the resource for the active state icon. | Int |
| inActiveSrc | Specifies the resource for the inactive state icon. | Int |
| iconTint | Defines the tint color for the icon. | Int |
| elevation | Sets the elevation of the icon. | Int |
| alpha | Determines the transparency level of the icon. | Float |
| scaleType | Specifies the scaling type for the icon display. | ScaleType |
| iconPadding | Defines the padding around the icon. | LMFeedPadding |
| backgroundColor | Specifies the background color of the icon. | Int |