$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. 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,
        bool commented = false}) =>
    DIVElement(
        id: id,
        classes: classes,
        style: toFlatListOfStrings(['display: inline-block', style],
            delimiter: CSS_LIST_DELIMITER),
        attributes: attributes,
        content: content,
        hidden: hidden,
        commented: commented);