loadDefaultImage method
Implementation
Widget loadDefaultImage(double width, double height,
{String ext = "Photo",
Color backgroundColor = Colors.black,
TextStyle? textStyle}) =>
SizedBox(
child: Container(
decoration: BoxDecoration(
color: backgroundColor,
),
child: Center(
child: Text(
ext,
style: textStyle ?? TextStyle(),
)),
),
width: width,
height: height,
);