platform

package
v0.1.101 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 4 Imported by: 0

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.

LocalFontFamilyResolver is a CompositionLocal that provides the FontFamilyResolver to the composition.

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.

View Source
var LocalWindow = compose.StaticCompositionLocalOf[*app.Window](func() *app.Window {
	return nil
})

LocalWindow is a CompositionLocal that provides the app.Window to the composition. This allows components to access the primary window without creating dummy windows.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL