loadingView method Null safety

Widget loadingView()

Implementation

Widget loadingView() {
  return SizedBox(
      width: double.infinity,
      height: 100,
      child: Center(
          child: Platform.isAndroid
              ? const CircularProgressIndicator()
              : const CupertinoActivityIndicator(
                  radius: 15,
                )));
}