layoutProportions method Null safety

  1. @override
List<int> layoutProportions()
override

Implementation

@override
List<int> layoutProportions() {
  if (showSecondsColumn)
    return [1, 1, 1];
  else
    return [1, 1, 0];
}