Skip to main content

BoxScope

Trait BoxScope 

Source
pub trait BoxScope {
    // Required method
    fn align(&self, alignment: Alignment) -> Modifier;
}
Expand description

Marker trait matching Jetpack Compose’s BoxScope API.

Future API - methods will be enabled as alignment modifiers are implemented.

Required Methods§

Source

fn align(&self, alignment: Alignment) -> Modifier

Align content within the Box using 2D alignment.

Implementors§