$divInline function

DIVElement $divInline({
  1. Object? id,
  2. Object? classes,
  3. Object? style,
  4. Map<String, String>? attributes,
  5. Object? content,
  6. bool? hidden,
  7. String? role,
  8. String? ariaLabel,
  9. Map<String, Object?>? aria,
  10. int? tabIndex,
  11. bool commented = false,
})

Creates a div node with display: inline-block.

Implementation

DIVElement $divInline({
  Object? id,
  Object? classes,
  Object? style,
  Map<String, String>? attributes,
  Object? content,
  bool? hidden,
  String? role,
  String? ariaLabel,
  Map<String, Object?>? aria,
  int? tabIndex,
  bool commented = false,
}) => DIVElement(
  id: id,
  classes: classes,
  style: toFlatListOfStrings([
    'display: inline-block',
    style,
  ], delimiter: CSS_LIST_DELIMITER),
  attributes: attributes,
  content: content,
  hidden: hidden,
  role: role,
  ariaLabel: ariaLabel,
  aria: aria,
  tabIndex: tabIndex,
  commented: commented,
);