SplitView class
A SplitView class.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- SplitView
Constructors
-
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.
Properties
- gripColor → Color
-
Grip color.
final
- gripColorActive → Color
-
Active grip color.
final
- gripSize → double
-
The grip size.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialWeight → double
-
Initial value of division ratio.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- maxHeightSidebar → double?
-
Specifies the maximum movement range of the grip.
final
- maxWidthSidebar → double?
-
Specifies the maximum movement range of the grip.
final
- minHeightSidebar → double?
-
Specifies the minimum movement range of the grip.
final
- minWidthSidebar → double?
-
Specifies the minimum movement range of the grip.
final
-
onWeightChanged
→ ValueChanged<
double?> ? -
Called when the user moves the grip.
final
- positionLimit → double
-
Up / down or left / right movement prohibited range.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- view1 → Widget
-
The view1 is first view.
final
- view2 → Widget
-
The view2 is second view.
final
- viewMode → SplitViewMode
-
The viewMode specifies how to arrange views.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< StatefulWidget> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultGripColor → const Color
- defaultGripColorActive → const Color
- defaultGripSize → const double
- defaultInitialWeight → const double
- defaultPositionLimit → const double