icon
Extension property providing the default icon for each section.
Returns a Material Icons Rounded icon appropriate for the section type. Modules can override this by providing their own Module.icon implementation.
Icon Mapping
Section.SETTINGS → Settings (gear icon)
Section.FEATURES → DeveloperMode icon
Section.NETWORK → NetworkCheck icon
Section.LOGGING → FormatListNumbered (list icon)
Section.CUSTOM → Extension (puzzle piece icon)
Usage
val sectionIcon = Section.FEATURES.icon
Icon(
imageVector = sectionIcon,
contentDescription = "Features section"
)Content copied to clipboard
Return
The ImageVector icon for this section.