Image constructor

Image(
  1. Object? path, {
  2. bool isNetwork = true,
  3. ImageFit fit = ImageFit.cover,
  4. double? width,
  5. double? height,
  6. double? borderRadius,
  7. bool cached = true,
  8. String? name,
  9. Object? visible,
})

Implementation

Image(
  Object? path, {
  this.isNetwork = true,
  this.fit = ImageFit.cover,
  this.width,
  this.height,
  this.borderRadius,
  this.cached = true,
  String? name,
  Object? visible,
}) : path = normalizeExpression(path),
     super(name: name, visible: _normalizeVisibility(visible));