Incular logoIncular
API Reference

Example Gallery

All 42 runnable demos with what each explores.

Every example lives in its own directory with main.rs, a simulation scenario, and an integration test. Run any of them with:

cargo run -p incular --example <name>

Only hello ships inside the registry archive; the rest need a checkout. Each gallery doubles as executable documentation for its reference pages.

ExampleFocus
animationControllers, curves, and tweens in motion
async_runtimeTokio timers, scoped cancellation, blocking work, UI-thread completion
base_ui_controlsBase control set without theming
canvas_layersDirect canvas commands, clips, transforms, gradients, CustomPaint
color_effectsColor filters and blend combinations
controls_galleryFull Incular controls catalog
core_defaultsContainer::new() vs builder() construction styles
counterReactive counter with compact Material hit target
customCustom widget composition
effectsCompositor blur, shadow, and opacity effects
environmentViewport/DPI, scale, locale/direction, SafeArea
flutter_widgets_galleryFlutter-vocabulary widget coverage
gesture_galleryTap/pan input with multi-pointer scale
imagesImage providers and decoding
interaction_completeGesture arenas, pointer capture, absorb/ignore
issue_trackerComplete sample application (desktop + controls)
layout_completeLimited/OverflowBox, flex data, stacks, affine fitting
layout_galleryWrapping, tables, stacks, fractional sizing, visibility
localizationICU fallback, directionality, number/date formatting
material_galleryFull Material catalog
material_workbenchMaterial component workbench
multi_windowShared signals across independent native windows
navigation_showcaseStack, presentations, dialogs, sheets, overlays
opacityOpacity groups and fades
paintingCanvas, paint, paths, and brushes
performance_galleryOverlay metrics under load
reactiveMemo, Effect, and Action primitives
responsive_layoutConstraints, insets, wrapping, tables on resize
restorationVersioned session restoration across relaunch
scrollScrolling basics
scrolling_completeNested wheel transfer, lazy rows, scroll policy
semantics_galleryRoles, labels, toggles, merged/excluded trees
simulationSimulation harness and frame capture
sliversPinned app bar, persistent headers, lazy grids
studioComponent preview studio
textText rendering and styles
text_fieldSingle-line field editing
text_qualityGlyph quality and shaping
text_selectionSelection interactions
undecorated_windowBorderless window via WindowOptions
widget_basicsUnstyled primitives vs styled components
workbenchGeneral component workbench

Browse the sources at examples/.

Related: Testing, Quick Start.