TableElement constructor

TableElement({
  1. Object? child,
  2. List<Object?> children = const [],
  3. String? className,
  4. Map<String, Object?> props = const {},
  5. Map<String, Object?> style = const {},
  6. DartStyle? dartStyle,
})

Creates a table element.

Implementation

TableElement({
  Object? child,
  List<Object?> children = const [],
  String? className,
  Map<String, Object?> props = const {},
  Map<String, Object?> style = const {},
  DartStyle? dartStyle,
}) : super(
        'table',
        props: mergeComponentProps(
          props,
          className: className,
          dartStyle: dartStyle,
          style: style,
        ),
        children: normalizeChildren(child, children),
      );