Single Image Picker

This component allows selecting, displaying, and managing a single image, with support for responsive sources, state binding, and accessibility options.

Constructors

SingleImagePicker

SingleImagePicker creates a new TSingleImagePicker with the given configuration.


Methods

MethodDescription
AccessibilityLabel(label string)AccessibilityLabel sets the accessibility label for the single image picker.
Border(border ui.Border)Border sets the border styling of the single image picker.
Frame(frame ui.Frame)Frame sets the frame of the single image picker directly.
Padding(padding ui.Padding)Padding sets the padding of the single image picker.
Visible(visible bool)Visible toggles the visibility of the single image picker.
WithFrame(fn func(ui.Frame) ui.Frame)WithFrame updates the frame of the single image picker using a transformation function.