FlutlyImage constructor

FlutlyImage(
  1. String path, {
  2. Key? key,
  3. BoxFit? fit,
  4. bool? shimmer,
  5. double? width,
  6. double? height,
})

Implementation

FlutlyImage(
  this.path, {
  Key? key,
  this.fit,
  this.shimmer,
  this.width,
  this.height,
}) : super(key: key) {
  shimmer ??= false;
  setCanShimmer(shimmer!);
}