MultiSplitViewThemeData constructor

MultiSplitViewThemeData({
  1. double dividerThickness = defaultDividerThickness,
  2. DividerPainter? dividerPainter,
  3. 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');
  }
}