RandomImageContainer constructor
RandomImageContainer({
- Key? key,
- required BuildContext context,
- double? height,
Implementation
RandomImageContainer({
Key? key,
required BuildContext context,
double? height,
}) : super(
key: key,
child: Image.network(
"".randomImage,
fit: BoxFit.cover,
height: height ?? 200,
));