FlyImage constructor

FlyImage({
  1. Key? key,
  2. @required String? url,
  3. double aspectRatio = 16.0 / 9.0,
  4. bool shouldCache = false,
  5. Widget? errorIcon,
})

Implementation

FlyImage(
    {Key? key,
    @required this.url,
    this.aspectRatio = 16.0 / 9.0,
    this.shouldCache = false,
    this.errorIcon})
    : super(key: key);