We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 927af38 commit 3bf8a8bCopy full SHA for 3bf8a8b
lib/utils/scroll_behavior.dart
@@ -16,9 +16,10 @@ class BouncingScrollBehavior extends ScrollBehavior {
16
}
17
18
class BouncingScrollWrapper extends StatelessWidget {
19
- final Widget? child;
+ final Widget child;
20
21
- const BouncingScrollWrapper({Key? key, this.child}) : super(key: key);
+ const BouncingScrollWrapper({Key? key, required this.child})
22
+ : super(key: key);
23
24
static Widget builder(BuildContext context, Widget child) {
25
return BouncingScrollWrapper(child: child);
@@ -28,7 +29,7 @@ class BouncingScrollWrapper extends StatelessWidget {
28
29
Widget build(BuildContext context) {
30
return ScrollConfiguration(
31
behavior: BouncingScrollBehavior(),
- child: child!,
32
+ child: child,
33
);
34
35
0 commit comments