TKeyValueTheme constructor

const TKeyValueTheme({
  1. required TextStyle keyStyle,
  2. required TextStyle labelStyle,
  3. required TextStyle valueStyle,
  4. double gridSpacing = 0,
  5. double minGridColWidth = 110,
  6. bool forceKeyValue = false,
  7. double keyValueBreakPoint = 300,
  8. bool showLeftBorder = false,
  9. Alignment alignment = Alignment.centerLeft,
  10. EdgeInsets narrowPadding = const EdgeInsets.symmetric(vertical: 6),
  11. double narrowItemBottomSpacing = 10,
  12. int narrowKeyFlex = 2,
  13. int narrowValueFlex = 3,
  14. double narrowGap = 12,
  15. EdgeInsets gridCellPadding = const EdgeInsets.symmetric(horizontal: 6, vertical: 6),
  16. double gridCellGap = 4,
  17. double maxColWidthFraction = 0.7,
  18. double minFractionFixed = 1.0,
  19. double minFractionStructured = 0.9,
  20. double minFractionCompact = 0.80,
  21. double minFractionProse = 0.70,
  22. double additionalNaturalWidth = 1.0,
  23. 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,
});