TKeyValueTheme constructor
const
TKeyValueTheme({
- required TextStyle keyStyle,
- required TextStyle labelStyle,
- required TextStyle valueStyle,
- double gridSpacing = 0,
- double minGridColWidth = 110,
- bool forceKeyValue = false,
- double keyValueBreakPoint = 300,
- bool showLeftBorder = false,
- Alignment alignment = Alignment.centerLeft,
- EdgeInsets narrowPadding = const EdgeInsets.symmetric(vertical: 6),
- double narrowItemBottomSpacing = 10,
- int narrowKeyFlex = 2,
- int narrowValueFlex = 3,
- double narrowGap = 12,
- EdgeInsets gridCellPadding = const EdgeInsets.symmetric(horizontal: 6, vertical: 6),
- double gridCellGap = 4,
- double maxColWidthFraction = 0.7,
- double minFractionFixed = 1.0,
- double minFractionStructured = 0.9,
- double minFractionCompact = 0.80,
- double minFractionProse = 0.70,
- double additionalNaturalWidth = 1.0,
- int maxItemsPerRow = 12,
Creates a key-value theme.
Implementation
const TKeyValueTheme({
required this.keyStyle,
required this.labelStyle,
required this.valueStyle,
this.gridSpacing = 0,
this.minGridColWidth = 110,
this.forceKeyValue = false,
this.keyValueBreakPoint = 300,
this.showLeftBorder = false,
this.alignment = Alignment.centerLeft,
this.narrowPadding = const EdgeInsets.symmetric(vertical: 6),
this.narrowItemBottomSpacing = 10,
this.narrowKeyFlex = 2,
this.narrowValueFlex = 3,
this.narrowGap = 12,
this.gridCellPadding = const EdgeInsets.symmetric(horizontal: 6, vertical: 6),
this.gridCellGap = 4,
this.maxColWidthFraction = 0.7,
this.minFractionFixed = 1.0,
this.minFractionStructured = 0.9,
this.minFractionCompact = 0.80,
this.minFractionProse = 0.70,
this.additionalNaturalWidth = 1.0,
this.maxItemsPerRow = 12,
});