TKeyValueSection.flow constructor
TKeyValueSection.flow({})
Factory constructor for inline dynamic flow layout where Key: Value items wrap naturally based on width.
Implementation
factory TKeyValueSection.flow({
Key? key,
required List<TKeyValue> values,
TKeyValueTheme? theme,
double gap = 8,
double hSpacing = 20,
double vSpacing = 12,
bool? removeEmpty,
}) {
return TKeyValueSection(
key: key,
values: values,
theme: theme,
gridInline: true,
columnar: false,
inlineKeyGap: gap,
gridHorizontalSpacing: hSpacing,
gridVerticalSpacing: vSpacing,
removeEmpty: removeEmpty,
);
}