buildImageWithBorder method
dynamic
buildImageWithBorder()
build the image with border and border radius style
Implementation
buildImageWithBorder() {
if (border != null) {
return Container(
decoration: BoxDecoration(
border: border,
borderRadius: radius,
),
child: buildImageView(),
);
} else {
return buildImageView();
}
}