SplitView constructor
SplitView({
- Key? key,
- required Widget view1,
- required Widget view2,
- required SplitViewMode viewMode,
- double gripSize = defaultGripSize,
- double? minWidthSidebar,
- double? maxWidthSidebar,
- double? minHeightSidebar,
- double? maxHeightSidebar,
- double initialWeight = defaultInitialWeight,
- Color gripColor = defaultGripColor,
- Color gripColorActive = defaultGripColorActive,
- double positionLimit = defaultPositionLimit,
- 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);