OLD | NEW |
1 part of layout; | |
2 | |
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
4 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
5 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
6 | 4 |
7 // This file has classes representing the grid tracks and grid template | 5 // This file has classes representing the grid tracks and grid template |
8 | 6 |
9 /** | 7 /** |
10 * The data structure representing the grid-rows or grid-columns | 8 * The data structure representing the grid-rows or grid-columns |
11 * properties. | 9 * properties. |
12 */ | 10 */ |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 /** | 178 /** |
181 * Used to return a row/column and span during parsing of grid-row and | 179 * Used to return a row/column and span during parsing of grid-row and |
182 * grid-column during parsing. | 180 * grid-column during parsing. |
183 */ | 181 */ |
184 class _GridLocation { | 182 class _GridLocation { |
185 final int start, length; | 183 final int start, length; |
186 _GridLocation(this.start, this.length) {} | 184 _GridLocation(this.start, this.length) {} |
187 | 185 |
188 int get end => start + length; | 186 int get end => start + length; |
189 } | 187 } |
OLD | NEW |