Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LocalDensity = compose.StaticCompositionLocalOf[unit.Density](func() unit.Density { panic("CompositionLocal LocalDensity not present") })
LocalDensity is a CompositionLocal that provides the Density to the composition.
View Source
var LocalFontFamilyResolver = compose.StaticCompositionLocalOf[font.FontFamilyResolver](func() font.FontFamilyResolver { return font.NewDefaultFontFamilyResolver() })
LocalFontFamilyResolver is a CompositionLocal that provides the FontFamilyResolver to the composition.
View Source
var LocalLayoutDirection = compose.StaticCompositionLocalOf[unit.LayoutDirection](func() unit.LayoutDirection { return unit.LayoutDirectionLtr })
LocalLayoutDirection is a CompositionLocal that provides the layout direction to the composition. This allows components to adapt their layout for left-to-right (LTR) or right-to-left (RTL) languages.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.