sizedBoxLoiding static method

SizedBox sizedBoxLoiding(
  1. dynamic size
)

Implementation

static SizedBox sizedBoxLoiding(dynamic size) => SizedBox(
      height: size.height * 0.5,
      child: Center(
        child: Lottie.asset('assets/animations/loader.json'),
      ),
    );