MultiSplitViewThemeData constructor
MultiSplitViewThemeData({
- double dividerThickness = defaultDividerThickness,
- DividerPainter? dividerPainter,
- double dividerHandleBuffer = defaultDividerHandleBuffer,
Builds a theme data.
The dividerThickness
argument must also be positive.
Implementation
MultiSplitViewThemeData(
{this.dividerThickness = defaultDividerThickness,
this.dividerPainter,
this.dividerHandleBuffer = defaultDividerHandleBuffer}) {
if (dividerThickness < 0) {
throw ArgumentError('The value cannot be negative: $dividerThickness.',
'dividerThickness');
}
if (dividerHandleBuffer < 0) {
throw ArgumentError('The value cannot be negative: $dividerHandleBuffer.',
'dividerHandleBuffer');
}
}