emptyLoadingCircle method

Widget emptyLoadingCircle(
  1. double height,
  2. BuildContext context
)

Implementation

Widget emptyLoadingCircle(double height, BuildContext context) {
  return SizedBox(
    width: height,
    height: height,
    child: Column(
      mainAxisSize: MainAxisSize.max,
      children: <Widget>[
        Expanded(
          child: Shimmer.fromColors(
            baseColor: Theme.of(context).brightness == Brightness.light
                ? DUI.color.loadingLightPrimary!
                : DUI.color.loadingDarkPrimary,
            highlightColor: Theme.of(context).brightness == Brightness.light
                ? DUI.color.loadingLightSecondary!
                : DUI.color.loadingDarkSecondary,
            enabled: true,
            child: Container(
              decoration: BoxDecoration(color: DUI.color.white, shape: BoxShape.circle),
            ),
          ),
        ),
      ],
    ),
  );
}