frust-widgets 0.5.2

Baseline widget set for Frust: text, buttons, images, flex, stack and scroll containers, and the authoring helpers for custom widgets.
Documentation
//! Motion module: declarative single-child animation wrappers built over
//! `frust-core`'s `anim` vocabulary
//! ([`frust_core::AnimationController`]/[`frust_core::Curve`]/
//! [`frust_core::Tween`]/[`frust_core::Spring`]) and the paint-only
//! `push_layer`/`push_transform` compositing primitives
//! ([`frust_core::PaintScene`]).
//!
//! # Module map
//!
//! Every motion module is pre-declared here so each module's code lives in
//! its own file and never spills into this module list (mirrors
//! `nav/mod.rs`'s module-map precedent):
//!
//! * [`animated`] — [`AnimatedOpacity`]/[`AnimatedScale`]: declarative
//!   single-child implicit-animation wrappers. A target-value change
//!   retargets smoothly (no jump), timed from the theme's
//!   [`frust_theme::MotionScheme`] by default, or an explicit
//!   [`crate::Timing`] override.
//! * [`switcher`] — [`switcher::PatternSwitcher`], a cross-fading
//!   child-switch wrapper (Flutter's `AnimatedSwitcher`).
//! * [`patterns`] — higher-level motion patterns (e.g. staggered reveals)
//!   composed over [`animated`]/[`switcher`].
//!
//! # Wholesale facade re-export
//!
//! Unlike the baseline widgets' flat per-type re-export lists, the
//! `frust` facade re-exports this module **wholesale**
//! (`pub use frust_widgets::motion;`), mirroring the existing
//! `pub use frust_widgets::icons;` precedent — the only other wholesale
//! module re-export in the facade today. This lets any future addition to
//! this module ride along under `frust::motion::*` with no further facade
//! edits required.

pub mod animated;
pub mod patterns;
pub mod switcher;

pub use animated::{
    AnimatedOpacity, AnimatedOpacityView, AnimatedOpacityWidget, AnimatedScale, AnimatedScaleView,
    AnimatedScaleWidget, animated_opacity, animated_scale,
};