SplitView constructor

SplitView({
  1. Key? key,
  2. required Widget view1,
  3. required Widget view2,
  4. required SplitViewMode viewMode,
  5. double gripSize = defaultGripSize,
  6. double? minWidthSidebar,
  7. double? maxWidthSidebar,
  8. double? minHeightSidebar,
  9. double? maxHeightSidebar,
  10. double initialWeight = defaultInitialWeight,
  11. Color gripColor = defaultGripColor,
  12. Color gripColorActive = defaultGripColorActive,
  13. double positionLimit = defaultPositionLimit,
  14. ValueChanged<double?>? onWeightChanged,
})

Creates an SplitView.

Implementation

SplitView({
  Key? key,
  required this.view1,
  required this.view2,
  required this.viewMode,
  this.gripSize = defaultGripSize,
  this.minWidthSidebar,
  this.maxWidthSidebar,
  this.minHeightSidebar,
  this.maxHeightSidebar,
  this.initialWeight = defaultInitialWeight,
  this.gripColor = defaultGripColor,
  this.gripColorActive = defaultGripColorActive,
  this.positionLimit = defaultPositionLimit,
  this.onWeightChanged,
}) : super(key: key);