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 e1d32dd commit 41ccc63Copy full SHA for 41ccc63
lib/src/widget/gaps.dart
@@ -60,9 +60,9 @@ class SliverGap extends StatelessWidget {
60
Widget build(BuildContext context) {
61
Widget child;
62
if (_width != null) {
63
- child = Gap.h(_width, height: _height, color: color);
+ child = Gap.h(_width!, height: _height, color: color);
64
} else if (_height != null) {
65
- child = Gap.v(_height, width: _width, color: color);
+ child = Gap.v(_height!, width: _width, color: color);
66
} else {
67
child = const SizedBox.shrink();
68
}
0 commit comments