ExplorerNetworkImage constructor

const ExplorerNetworkImage({
  1. Key? key,
  2. required String url,
  3. required ExplorerNetworkFiles explorerNetworkFiles,
  4. Map<String, String> headers = const {},
  5. bool refresh = false,
  6. bool getOldOnError = false,
  7. bool log = false,
  8. double? width,
  9. double? height,
  10. double? borderRadius,
  11. BoxFit fit = BoxFit.cover,
  12. Color baseColor = const Color.fromARGB(255, 168, 168, 168),
  13. Color highlightColor = const Color.fromARGB(255, 236, 236, 236),
  14. Color errorIconColor = const Color.fromARGB(255, 236, 236, 236),
  15. Color backgroundColor = Colors.transparent,
  16. Color? borderColor,
  17. EdgeInsets? margin,
  18. EdgeInsets? padding,
  19. bool setItInDecoration = true,
})

Implementation

const ExplorerNetworkImage({
  Key? key,
  required this.url,
  required this.explorerNetworkFiles,
  this.headers = const {},
  this.refresh = false,
  this.getOldOnError = false,
  this.log = false,
  this.width,
  this.height,
  this.borderRadius,
  this.fit = BoxFit.cover,
  this.baseColor = const Color.fromARGB(255, 168, 168, 168),
  this.highlightColor = const Color.fromARGB(255, 236, 236, 236),
  this.errorIconColor = const Color.fromARGB(255, 236, 236, 236),
  this.backgroundColor = Colors.transparent,
  this.borderColor,
  this.margin,
  this.padding,
  this.setItInDecoration = true,
}) : super(key: key);