Skip to main content

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 the code on GitHub

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.

FieldDescriptionType
activeSrcSpecifies the resource for the active state icon.Int
inActiveSrcSpecifies the resource for the inactive state icon.Int
iconTintDefines the tint color for the icon.Int
elevationSets the elevation of the icon.Int
alphaDetermines the transparency level of the icon.Float
scaleTypeSpecifies the scaling type for the icon display.ScaleType
iconPaddingDefines the padding around the icon.LMFeedPadding
backgroundColorSpecifies the background color of the icon.Int

View the code on GitHub