- When rebuilding SplitView with an inline-constructed controller, the new controller was not assigned to _SplitViewState._controller and thus, did not get notified of moves after the first rebuild. (@jpnurmi)
- Added weights setter and notify changes.(thanks to @jpnurmi)
- Updates code for Flutter 3.0.x.
- Added indicator / activeIndicator fields. These fields can set grip indicator for inform the user that splitter bar is draggable.
- Added SplitIndicator class. This class is a sample implementation of indicator.
- This version contains breaking changes.
- Fields in view1 and view2 changed to children.
- Added the SplitviewController class due to controlling views weights and limits.
- Removed fields minWidthSidebar/maxWidthSidebar/minHeightSidebar/maxHeightSidebar and initialWeight. Instead, Added the WeightLimit class so that we can specify the weight.
- The argument of the onWeightChanged handler now has multiple weights.
- Formatted by dartfmt.
- The color of the split bar is now highlighted when the mouse hovered when used on the web.
- Added optional field for split bar color while dragging.
- Formatted by dartfmt.
- Add comments for dartdoc.
- Added optional fields for limit the sidebar size. (efraespada)
- Fix bug: Initial weight was used when calling
setState()
. (efraespada) - Improvement: The
ValueNotifier<double?>
is initialized once. (efraespada)
- Migrate to null safety (GroovinChip)
- Add identifier field to read/writeState methods. In order to identify the weight of each Splitview.
- Add key field to SplitView's constructor in order to save the split bar position.
- Fix bug.
- For Positioned widgets that wrap view1 and view2, adjust either the left, right, bottom, or top fields, taking into account widget.gripSize. (cedarbob)
- Set mouse cursor for Desktop & Web (jpnurmi)
- Add weight change event
- Change version number
- Modify description in pubspec.yaml
- Initial Release