VNode constructor
VNode({})
Implementation
VNode({
required this.tag,
this.text,
this.html,
Map<String, String>? attrs,
Map<String, String>? styles,
List<String>? classes,
List<VNode>? children,
Map<String, Function>? events,
this.key,
this.valueRef,
this.onChanged,
this.onSubmit,
}) : attrs = attrs ?? {},
styles = styles ?? {},
classes = classes ?? [],
children = children ?? [],
events = events ?? {};