RandomImageContainer constructor

RandomImageContainer({
  1. Key? key,
  2. required BuildContext context,
  3. double? height,
})

Implementation

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