[][src]Module polyhorn_android::prelude

This is the Polyhorn for iOS prelude. It includes every type and function of Polyhorn UI with the exception that it defines its own Component, Element and Manager that are specialized for the iOS platform.

Re-exports

pub use super::Element;
pub use super::Manager;

Macros

asset

Calls polyhorn_ui::macros::asset::asset_impl with a token stream that we obtain from the Rust compiler.

poly
style

Calls polyhorn_ui::macros::style::style_impl with a token stream that we obtain from the Rust compiler.

use_async
use_channel
use_context
use_effect
use_id
use_layout_effect
use_reference
use_safe_area_insets

Hook that returns the safe area insets of a view.

use_state

Structs

ContextProvider
Image

Renders an image source to the screen.

Modal

Renders its children in a system-provided modal window.

Scrollable

Implements scroll gestures and bars to accommodate layouts that exceed screen or container dimensions.

StatusBar

Controls the appearance of the system status bar on iOS and Android.

Text

Renders (rich) text to the screen.

View

The base component.

Window

The root component.

Enums

StatusBarStyle

Represents the style of the OS status bar.

Traits

Component

Platform-specific component trait.