networkAnimated static method

Widget networkAnimated({
  1. required String assetName,
  2. String? packageName,
  3. double? width,
  4. double? height,
  5. BoxFit? fit,
  6. AnimationController? controller,
  7. bool? repeat,
  8. bool? reverse,
})

Implementation

static Widget networkAnimated(
    {required String assetName,
    String? packageName,
    double? width,
    double? height,
    BoxFit? fit,
    AnimationController? controller,
    bool? repeat,
    bool? reverse}) {
  return Lottie.network(GtdString.pathForAsset(packageName, assetName),
      controller: controller, repeat: repeat, reverse: reverse, fit: fit, width: width, height: height);
}