Image constructor

const Image({
  1. String? alt,
  2. CrossOriginType? crossOrigin,
  3. DecodingType? decoding,
  4. FetchPriorityType? fetchPriority,
  5. LoadingType? loading,
  6. ReferrerPolicyType? referrerPolicy,
  7. String? src,
  8. String? srcSet,
  9. String? width,
  10. String? height,
  11. Key? key,
  12. NullableElementCallback? ref,
  13. String? id,
  14. String? title,
  15. String? style,
  16. String? className,
  17. bool? hidden,
  18. String? innerText,
  19. Widget? child,
  20. List<Widget>? children,
  21. EventCallback? onClick,
  22. Map<String, String>? additionalAttributes,
})

Implementation

const Image({
  this.alt,
  this.crossOrigin,
  this.decoding,
  this.fetchPriority,
  this.loading,
  this.referrerPolicy,
  this.src,
  this.srcSet,
  this.width,
  this.height,
  Key? key,
  NullableElementCallback? ref,
  String? id,
  String? title,
  String? style,
  String? className,
  bool? hidden,
  String? innerText,
  Widget? child,
  List<Widget>? children,
  EventCallback? onClick,
  Map<String, String>? additionalAttributes,
}) : super(
        key: key,
        ref: ref,
        id: id,
        title: title,
        style: style,
        className: className,
        hidden: hidden,
        innerText: innerText,
        child: child,
        children: children,
        onClick: onClick,
        additionalAttributes: additionalAttributes,
      );