Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
SplitView
const SplitView({
super.key,
this.first,
this.second,
this.firstBuilder,
this.secondBuilder,
this.controller,
this.initialExtent = const SplitViewExtent.fraction(.5),
this.axis = Axis.vertical,
this.snapPoints = const [],
this.minFirstExtent = 64,
this.minSecondExtent = 64,
this.resizable = true,
this.onChanged,
this.onResizeStart,
this.onResizeEnd,
this.padding,
this.borderRadius,
this.paneBorderRadius,
this.dividerExtent = 24,
this.handleLength = 40,
this.handleThickness = 4,
this.backgroundColor,
this.paneColor,
this.handleColor,
this.showShadow = true,
this.keyboardStep = 16,
this.semanticLabel = 'Resize panes',
this.motion,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
first | Widget? | No | null |
second | Widget? | No | null |
firstBuilder | SplitViewPaneBuilder? | No | null |
secondBuilder | SplitViewPaneBuilder? | No | null |
controller | SplitViewController? | No | null |
initialExtent | SplitViewExtent | No | const SplitViewExtent.fraction(.5) |
axis | Axis | No | Axis.vertical |
snapPoints | List<SplitViewExtent> | No | const [] |
minFirstExtent | double | No | 64 |
minSecondExtent | double | No | 64 |
resizable | bool | No | true |
onChanged | ValueChanged<SplitViewMetrics>? | No | null |
onResizeStart | ValueChanged<SplitViewMetrics>? | No | null |
onResizeEnd | ValueChanged<SplitViewMetrics>? | No | null |
padding | EdgeInsetsGeometry? | No | null |
borderRadius | double? | No | null |
paneBorderRadius | double? | No | null |
dividerExtent | double | No | 24 |
handleLength | double | No | 40 |
handleThickness | double | No | 4 |
backgroundColor | Color? | No | null |
paneColor | Color? | No | null |
handleColor | Color? | No | null |
showShadow | bool | No | true |
keyboardStep | double | No | 16 |
semanticLabel | String | No | 'Resize panes' |
motion | ComponentMotion? | No | null |
Application Setup
Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.
Source
lib/src/widgets/layouts/split_view/split_view.dart
This reference is generated from the SplitView declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

