installPhotoAndText method
Future<void>
installPhotoAndText(
- String title,
- String description,
- String contents,
- DecorationComponentPosition imagePosition,
- String imageAssetLocation, {
- SimpleTextAlign? align,
})
Implementation
Future<void> installPhotoAndText(
String title,
String description,
String contents,
DecorationComponentPosition imagePosition,
String imageAssetLocation,
{SimpleTextAlign? align}) async {
var simpleTextModel = await createSimpleTextModel(
installApp!.theApp.documentID, title, contents,
align: align);
var componentId = simpleTextModel.documentID;
var componentName = AbstractSimpleTextComponent.componentName;
return super.installPhoto(componentId, componentName, title, description,
imagePosition, imageAssetLocation);
}