File tree Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 11# Changelog
2+ ## 1.5.1
3+ - Fix ScrollBehavior missing default values.
4+
25## 1.5.0
36- Create new MaxWidthBox implementation that only uses constraints for setting max width.
47- Create NoScrollBarBehavior.
Original file line number Diff line number Diff line change @@ -39,8 +39,10 @@ class BouncingScrollWrapper extends StatelessWidget {
3939 Widget build (BuildContext context) {
4040 return ScrollConfiguration (
4141 behavior: dragWithMouse
42- ? const BouncingScrollBehavior ()
43- .copyWith (dragDevices: {PointerDeviceKind .mouse})
42+ ? const BouncingScrollBehavior ().copyWith (dragDevices: {
43+ ...const BouncingScrollBehavior ().dragDevices,
44+ PointerDeviceKind .mouse
45+ })
4446 : const BouncingScrollBehavior (),
4547 child: child,
4648 );
@@ -80,8 +82,10 @@ class ClampingScrollWrapper extends StatelessWidget {
8082 Widget build (BuildContext context) {
8183 return ScrollConfiguration (
8284 behavior: dragWithMouse
83- ? const ClampingScrollBehavior ()
84- .copyWith (dragDevices: {PointerDeviceKind .mouse})
85+ ? const ClampingScrollBehavior ().copyWith (dragDevices: {
86+ ...const ClampingScrollBehavior ().dragDevices,
87+ PointerDeviceKind .mouse
88+ })
8589 : const ClampingScrollBehavior (),
8690 child: child,
8791 );
Original file line number Diff line number Diff line change 11name : responsive_framework
22description : Easily make Flutter apps responsive. Automatically adapt UI to different screen sizes. Responsiveness made simple.
3- version : 1.5.0
3+ version : 1.5.1
44homepage : https://codelessly.com
55repository : https://github.com/Codelessly/ResponsiveFramework
66documentation : https://github.com/Codelessly/ResponsiveFramework
You can’t perform that action at this time.
0 commit comments