Skip to content

Commit 41ccc63

Browse files
committed
🐛 Fix nullability
1 parent e1d32dd commit 41ccc63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/widget/gaps.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ class SliverGap extends StatelessWidget {
6060
Widget build(BuildContext context) {
6161
Widget child;
6262
if (_width != null) {
63-
child = Gap.h(_width, height: _height, color: color);
63+
child = Gap.h(_width!, height: _height, color: color);
6464
} else if (_height != null) {
65-
child = Gap.v(_height, width: _width, color: color);
65+
child = Gap.v(_height!, width: _width, color: color);
6666
} else {
6767
child = const SizedBox.shrink();
6868
}

0 commit comments

Comments
 (0)