TomlViewerStyle constructor
const
TomlViewerStyle({
- TextStyle? rootKeyStyle,
- TextStyle? nonRootKeyStyle,
- TextStyle? tableKeyStyle,
- TextStyle? valueStyle,
- TextStyle? separatorStyle,
- TextStyle? typeStyle,
- TextStyle? arrayIndexStyle,
- TextStyle? arrayExpandableStyle,
- TextStyle? searchMatchStyle,
- double indentation = 14.0,
- double rowSpacing = 4.0,
- double rowVerticalPadding = 4.0,
- String separator = ' = ',
- double separatorGap = 3.0,
- int? maxValueLines = 1,
- int? maxValueLength = 512,
- IconData? collapsedIcon = Icons.chevron_right,
- IconData? expandedIcon = Icons.expand_more,
- double expandIconSize = 16.0,
- Color? expandIconColor,
Creates a style. Every parameter has a sensible default.
Implementation
const TomlViewerStyle({
this.rootKeyStyle,
this.nonRootKeyStyle,
this.tableKeyStyle,
this.valueStyle,
this.separatorStyle,
this.typeStyle,
this.arrayIndexStyle,
this.arrayExpandableStyle,
this.searchMatchStyle,
this.indentation = 14.0,
this.rowSpacing = 4.0,
this.rowVerticalPadding = 4.0,
this.separator = ' = ',
this.separatorGap = 3.0,
this.maxValueLines = 1,
this.maxValueLength = 512,
this.collapsedIcon = Icons.chevron_right,
this.expandedIcon = Icons.expand_more,
this.expandIconSize = 16.0,
this.expandIconColor,
});