getSpash method

Widget getSpash(
  1. bool showSplash
)

Implementation

Widget getSpash(bool showSplash) {
  Widget splash;
  if (showSplash) {
    splash = Container(
      width: double.infinity,
      height: double.infinity,
      color: Colors.black.withAlpha(170),
      child: const NsgSimpleProgressBar(size: 100, width: 10),
    );
  } else {
    splash = Container();
  }
  return splash;
}