StratoSDK is a framework with a declarative approach similar to Flutter/React, written and designed entirely for Rust.
| 1 | pub use pathfinder_color::ColorU; |
| 2 | pub use pathfinder_geometry::{ |
| 3 | rect::RectF, |
| 4 | vector::{vec2f, Vector2F}, |
| 5 | }; |
| 6 | |
| 7 | pub use crate::{ |
| 8 | core::{ |
| 9 | AppContext, Entity, GetSingletonModelHandle as _, ModelContext, ModelHandle, |
| 10 | SingletonEntity, TypedActionView, View, ViewContext, ViewHandle, |
| 11 | }, |
| 12 | elements::{ |
| 13 | Align, Border, ChildView, ConstrainedBox, Container, CornerRadius, CrossAxisAlignment, |
| 14 | DropShadow, Element, Empty, Fill, Flex, Hoverable, MainAxisAlignment, MainAxisSize, |
| 15 | MinSize, MouseStateHandle, Padding, ParentElement as _, Radius, SavePosition, Text, |
| 16 | }, |
| 17 | platform::Cursor, |
| 18 | presenter::EventContext, |
| 19 | ui_components::components::Coords, |
| 20 | }; |
| 21 | |
| 22 | pub mod stack { |
| 23 | pub use crate::elements::{ |
| 24 | AnchorPair, ChildAnchor, OffsetPositioning, OffsetType, ParentAnchor, ParentOffsetBounds, |
| 25 | PositioningAxis, Stack, XAxisAnchor, YAxisAnchor, |
| 26 | }; |
| 27 | } |
| 28 |