Config

data class Config(val menuInset: Double = 5.0, val menuRadius: Double = 6.0, val menuFillPaint: Paint = White.paint, val itemTextPaint: Paint = Black.paint, val itemIconWidth: Double = 20.0, val itemSelectedRadius: Double = 4.0, val itemIconTextSpacing: Double = 6.0, val itemHighlightPaint: Paint = Color(0xD2DEFAu).paint, val itemVerticalPadding: Double = 4.0, val itemHorizontalPadding: Double = 14.0, val itemTextSelectedPaint: Paint = itemTextPaint, val itemDisabledTextPaint: Paint = Color(0xA9ADBCu).paint, val subMenuIconPaint: Paint = Color(0x818593u).paint, val subMenuIconSelectedPaint: Paint = subMenuIconPaint, val subMenuIconDisabledPaint: Paint = itemDisabledTextPaint, val subMenuIconTextSpacing: Double = itemHorizontalPadding, val separatorPaint: Paint = (Black opacity 0.07f).paint, val separatorHeight: Double = 11.0, val subMenuIconPath: Path = path("M1 1L5 5L1 9")!!, val subMenuShowDelay: Measure<Time> = 100 * milliseconds)(source)

Configuration for BasicMenuBehavior.

Constructors

Link copied to clipboard
constructor(menuInset: Double = 5.0, menuRadius: Double = 6.0, menuFillPaint: Paint = White.paint, itemTextPaint: Paint = Black.paint, itemIconWidth: Double = 20.0, itemSelectedRadius: Double = 4.0, itemIconTextSpacing: Double = 6.0, itemHighlightPaint: Paint = Color(0xD2DEFAu).paint, itemVerticalPadding: Double = 4.0, itemHorizontalPadding: Double = 14.0, itemTextSelectedPaint: Paint = itemTextPaint, itemDisabledTextPaint: Paint = Color(0xA9ADBCu).paint, subMenuIconPaint: Paint = Color(0x818593u).paint, subMenuIconSelectedPaint: Paint = subMenuIconPaint, subMenuIconDisabledPaint: Paint = itemDisabledTextPaint, subMenuIconTextSpacing: Double = itemHorizontalPadding, separatorPaint: Paint = (Black opacity 0.07f).paint, separatorHeight: Double = 11.0, subMenuIconPath: Path = path("M1 1L5 5L1 9")!!, subMenuShowDelay: Measure<Time> = 100 * milliseconds)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val itemIconWidth: Double = 20.0
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val menuInset: Double = 5.0
Link copied to clipboard
val menuRadius: Double = 6.0
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard