Image constructor
const
Image({
- String? alt,
- CrossOriginType? crossOrigin,
- DecodingType? decoding,
- FetchPriorityType? fetchPriority,
- LoadingType? loading,
- ReferrerPolicyType? referrerPolicy,
- String? src,
- String? srcSet,
- String? width,
- String? height,
- Key? key,
- NullableElementCallback? ref,
- String? id,
- String? title,
- String? style,
- String? className,
- String? innerText,
- Widget? child,
- List<
Widget> ? children, - EventCallback? onClick,
- 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,
);