⌂
›
Reference
›
Shimmer
Shimmer
Shimmer control. Build it with the shimmer helper.
Example
shimmer(
container(width: 240, height: 80, bgcolor: "#d1d5db"),
base_color: "#d1d5db",
highlight_color: "#f9fafb"
)
Properties
base_color— Base color.content— The single child control rendered inside this control.directiongradienthighlight_color— Highlight color.loopperiod
Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).
Events
on_animation_end— Fired when an animation completes.on_size_change— Fired when the control's size changes.
Reference
- Family:
shared - Widget type:
shimmer - Helper:
shimmer