TKeyValueSection.split constructor

TKeyValueSection.split({
  1. Key? key,
  2. required List<TKeyValue> values,
  3. TKeyValueTheme? theme,
  4. bool valueAfterKey = false,
  5. double gap = 8,
  6. double vSpacing = 10,
  7. bool? removeEmpty,
})

Factory constructor for split single-column layout (Key on far left, Value on far right).

Implementation

factory TKeyValueSection.split({
  Key? key,
  required List<TKeyValue> values,
  TKeyValueTheme? theme,
  bool valueAfterKey = false,
  double gap = 8,
  double vSpacing = 10,
  bool? removeEmpty,
}) {
  return TKeyValueSection(
    key: key,
    values: values,
    theme: theme,
    forceKeyValue: true,
    valueAfterKey: valueAfterKey,
    gridCellGap: gap,
    gridVerticalSpacing: vSpacing,
    removeEmpty: removeEmpty,
  );
}