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 ba33b1d commit 597ca4eCopy full SHA for 597ca4e
lib/responsive_row_column.dart
@@ -155,9 +155,11 @@ class ResponsiveRowColumnItem extends StatelessWidget {
155
@override
156
Widget build(BuildContext context) {
157
if (rowColumn && (rowFlex != null || rowFit != null)) {
158
- return Flexible(flex: rowFlex, fit: rowFit, child: child);
+ return Flexible(
159
+ flex: rowFlex ?? 1, fit: rowFit ?? FlexFit.loose, child: child);
160
} else if (!rowColumn && (columnFlex != null || columnFit != null)) {
- return Flexible(flex: columnFlex, fit: columnFit, child: child);
161
162
+ flex: columnFlex ?? 1, fit: columnFit ?? FlexFit.loose, child: child);
163
}
164
165
return child;
0 commit comments