Area
- Allow changing size, flex, min and max values.
- Bugfix
- The
Area.copyWith
method does not allow nulling values. The API has been changed to support this.
- The
MultiSplitView
- Added
areaClipBehavior
to control area clipping.
- Added
Area
- Added
copyWith
method.
- Added
MultiSplitView
- Added
onDividerDragStart
andonDividerDragEnd
callbacks.
- Added
MultiSplitViewThemeData
- Allows divider without thickness.
- Allows increasing the handle area around the divider.
- Bugfix: The divider does not move when the widget's size includes a tiny fractional value.
- Bugfix:
MultiSplitViewController
throwing error when being built or modified to have no areas.
Area
- Adding
id
to be used as an internal Key and facilitating reconfiguration of the layout while maintaining the state of the widgets.
- Adding
- Avoiding rebuilding areas when hovering over the divider.
Area
- The
widget
attribute has been removed. Developers may have encountered unintended behavior when usingwidget
as it retained the last context, resulting in unexpected fixed states. Going forward, only thebuilder
attribute will be available, ensuring dynamic updates based on the current context. - The
builder
function was replaced byAreaWidgetBuilder
, thus receiving the area as an extra argument. - New attribute:
index
- The
AreaWidgetBuilder
- The argument
index
has been removed.
- The argument
Bugfix: Other Widgets visually behind are not receiving mouse events.
Bugfix: Stretching to recover the minimum size when space is available.
Area
- The algorithm has been changed to use
flex
factor instead ofweight
. - The
minimalWeight
andminimalSize
attributes has been replaced bymin
. - The
hasMinimal
attribute has been removed. - New attribute:
max
.
- The algorithm has been changed to use
Theme
- The
dividerThickness
now can be zero.
- The
OnWeightChange
has been replaced byOnDividerDragUpdate
MultiSplitViewController
- The
areasLength
attribute has been renamed toareasCount
- The
MultiSplitView
- Width and height configuration to be used in an unbounded situation.
- Setting the widget directly in the area or through builders.
- Bugfix
- Area using the child widget key.
Area
- Replacing the factory constructor with a default constructor.
- The
copyWithNewWeight
method has been removed.
MultiSplitViewController
- Keeping the reference to the areas received by the constructor parameter. A new instance of
Area
will no longer be built when resizing the layout. - The
setAreaAt
method has been removed.
- Keeping the reference to the areas received by the constructor parameter. A new instance of
- Bugfix
- The anti-aliasing bug workaround is clipping a pixel.
- The standard divider widget (
DividerWidget
) has been exported to the public API. - Behavior change
- Canceling the divider drag after using the
areas
setter in theMultiSplitViewController
.
- Canceling the divider drag after using the
- Bugfix
- Divider animation not starting when touching it on mobile.
- Divider
- Tap gestures.
OnSizeChange
renamed toOnWeightChange
.- Removing
childIndex1
andchildIndex2
parameters.
- Removing
- Bugfix
- Window resizing allowing area with a size smaller than the
minimalSize
. OnWeightChange
is not getting notified on window resizing.
- Window resizing allowing area with a size smaller than the
- Fixing the README example.
- Bugfix
- State is not being preserved when children are added/removed.
MultiSplitViewController
sizes
,weights
,minimalSizes
andminimalWeights
has been replaced byareas
.globalMinimalWeight
has been removed.globalMinimalSize
has been removed.
Area
- Defines each child area in the
MultiSplitView
. - Allow configure
size
,weight
,minimalWeight
andminimalSize
. - Allow simultaneous use of
size
andweight
(in different areas). - Allow empty
weight
orsize
(zero).
- Defines each child area in the
- Bugfix
- Children without clip.
MultiSplitView
minimalWeight
renamed toglobalMinimalWeight
minimalSize
renamed toglobalMinimalSize
minimalWeights
has been added to set individual child minimal weights.minimalSizes
has been added to set individual child minimal sizes.
MultiSplitViewController
- Removing the internal
setWeight
method. - Adding Setter to the
weights
.
- Removing the internal
- Updating the README
- Widget as a custom divider
- Workaround for Flutter's anti-aliasing issue as flutter/flutter#14288
- Updating the README
- The
initialWeights
parameter has been moved toMultiSplitView
- Added
weights
parameter in theMultiSplitViewController
- Bugfix
- Rebuild the theme by changing the
animationEnabled
parameter has no effect
- Rebuild the theme by changing the
- Facilitate the use of
MultiSplitView
inStatelessWidget
in order to maintain the state of weights- The
weights
parameter ofMultiSplitViewController
has been changed toinitialWeights
- The
- Removal of unused
highlightedSize
parameter fromDividerPainters.dashed
- Enforcing the
count
andhighlightedCount
parameters ofDividerPainters.grooved2
to be odd
- Default divider thickness value has been changed to 10
- Customizable divider painters
- Bugfix
- Divider flickering when dragging
- Ignoring the initial weights when their sum is less than 1
- Error when initializing weights with a constant
- Bugfix/Enhancement
- Prevent
MultiSplitViewController
sharing betweenMultiSplitView
instances to avoid unstable state
- Prevent
- API changes
MultiSplitViewTheme
has been added following the same pattern used by Flutter's Theme- Divider configurations has been moved to
MultiSplitViewThemeData
- Adding the
key
parameter to the constructor
- Removing a print (how embarrassing)
- Moving the Demo project to another repository
- Painter for the highlighted divider (under the cursor)
- Bugfix
- Insufficient space for widgets
- Online demo
- Option to disable resizing
- The default divider color has been changed to null (transparent)
- Customizable painter for the divider
- Bugfix
- Divider color also sets the background color
- Allow setting minimum child size in pixels
- Fixing the README
- Fixing the README
- Replacing bool primitive with the Axis class
- Null safety
WeightController
renamed toMultiSplitViewController
- Adding content to the README
- Adding example
- Initial release