TKeyValueSection.columnsInline constructor

TKeyValueSection.columnsInline({
  1. Key? key,
  2. required List<TKeyValue> values,
  3. TKeyValueTheme? theme,
  4. int? columns,
  5. double? keyWidth,
  6. double? keyMaxWidth,
  7. double? gap,
  8. Alignment? keyAlignment,
  9. double? hSpacing,
  10. double? vSpacing,
  11. bool? removeEmpty,
})

Factory constructor for inline columns layout (Key: Value inline in aligned multi-column grid).

Implementation

factory TKeyValueSection.columnsInline({
  Key? key,
  required List<TKeyValue> values,
  TKeyValueTheme? theme,
  int? columns,
  double? keyWidth,
  double? keyMaxWidth,
  double? gap,
  Alignment? keyAlignment,
  double? hSpacing,
  double? vSpacing,
  bool? removeEmpty,
}) {
  return TKeyValueSection(
    key: key,
    values: values,
    theme: theme,
    mode: TKeyValueMode.inlineColumns,
    columns: columns,
    inlineKeyWidth: keyWidth,
    inlineKeyMaxWidth: keyMaxWidth,
    gap: gap,
    inlineKeyAlignment: keyAlignment,
    hSpacing: hSpacing,
    vSpacing: vSpacing,
    removeEmpty: removeEmpty,
  );
}