mockWidget method
Implementation
UikImageOverlayProps mockWidget() {
return UikImageOverlayProps.fromJson(
{
'id': 'uikImageOverlay',
'boxFit':'cover',
'image':
'https://media.istockphoto.com/id/149360161/photo/manicured-house-and-garden.jpg?s=1024x1024&w=is&k=20&c=G8tOU3hhMwgIrDorByYbBDBFFiqIcNaqdX7sXuywogc=',
'child': {
"id": "text",
"text": "Hello this is overLayContent",
"size": "24.0",
"action": {
"tap": {
"type": "UIK_OPEN_WEB",
"data": {
"url":
"https://sylhetmirror.com/2022/04/03/tesla-delivers-over-1-million-electric-cars-over-past-year/"
}
}
}
},
},
);
}