canvas function
Node
canvas(
{ - num? height,
- num? width,
- String? id,
- dynamic className,
- dynamic style,
- Map<String, dynamic> p = const {},
- @deprecated Map<String, dynamic> props = const {},
- Iterable<Node> c = const [],
- @deprecated Iterable<Node> children = const [],
})
Implementation
Node canvas(
{num? height,
num? width,
String? id,
className,
style,
Map<String, dynamic> p = const {},
@deprecated Map<String, dynamic> props = const {},
Iterable<Node> c = const [],
@deprecated Iterable<Node> children = const []}) =>
h(
'canvas',
_apply([
p,
props
], {
'height': height,
'width': width,
'id': id,
'class': className,
'style': style
}),
[...c, ...children]);