div function
ReactNode
div({
- Map<
String, Object?> props = const {}, - ReactChildren children = const [],
- String? key,
Implementation
ReactNode div({
Map<String, Object?> props = const {},
ReactChildren children = const [],
String? key,
}) {
return HostNode<Map<String, Object?>>(
_divHost,
props,
children: normalizeChildren(children),
key: key,
);
}