remote_ip_camera 2.0.0
remote_ip_camera: ^2.0.0 copied to clipboard
Camera IP addon for remote ui package, allow you to add a remote widget that show mjpeg stream from URL
remote_image_button #
Flutter widget to manage an image button UI from a JSON definition
This is a Remote UI plugin.
Usage #
Add the factory to the RemoteManagerWidget:
RemoteManagerWidget(
parsers: [RemoteIpCameraFactory()],
child: RemoteWidget(...)
)
copied to clipboard
Then you can provide a JSON representation of a color picker like this:
{
'type': 'camera',
'id': 'camera',
'stream': 'http://domain.com/stream',
'preview': 'http://domain.com/preview'
}
copied to clipboard
API #
Image button:
id
: id of the widget
value
: current value, it has to match one of the values
entries
width
: width of the button
height
: height of the button
fit
: fit, default to contain (1), see BoxFit for more
padding
: padding of the button, see EdgeInsets definition
values
: map of possible value