MediaSource constructor
const
MediaSource({
- String? type,
- String? src,
- String? srcSet,
- String? sizes,
- String? media,
- String? height,
- String? width,
- 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 MediaSource({
this.type,
this.src,
this.srcSet,
this.sizes,
this.media,
this.height,
this.width,
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,
);