circularProviders method
Implementation
Widget circularProviders(ImageProvider imageProvider) {
return Container(
height: imageRadius,
width: imageRadius,
decoration: BoxDecoration(
shape: BoxShape.circle,
color: backgroundColor,
border: Border.all(
color: imageBorderColor!,
width: imageBorderWidth!,
),
),
child: Container(
decoration: BoxDecoration(
shape: BoxShape.circle,
image: DecorationImage(
image: imageProvider,
fit: BoxFit.cover,
),
),
),
);
}