xResponsive function

Widget xResponsive(
  1. dynamic condition,
  2. {Widget xColumn,
  3. Widget xRow}
)

Implementation

Widget xResponsive(condition, {Widget xColumn, Widget xRow}) {
  if (condition) {
    return xColumn;
  } else {
    return xRow;
  }
}