feat(model): add named range targets
This commit is contained in:
1 parent
3da83885b5
commit
0bf8dcd043
1 file changed
+19
@@ -0,0 +1,19 @@
|
|||||||
|
import 'address.dart';
|
||||||
|
import 'sheet.dart';
|
||||||
|
|
||||||
|
sealed class NameTarget {
|
||||||
|
const NameTarget();
|
||||||
|
}
|
||||||
|
|
||||||
|
class CellName extends NameTarget {
|
||||||
|
final Sheet sheet;
|
||||||
|
final CellAddress address;
|
||||||
|
const CellName(this.sheet, this.address);
|
||||||
|
}
|
||||||
|
|
||||||
|
class RangeName extends NameTarget {
|
||||||
|
final Sheet sheet;
|
||||||
|
final CellAddress start;
|
||||||
|
final CellAddress end;
|
||||||
|
const RangeName(this.sheet, this.start, this.end);
|
||||||
|
}
|
||||||
Reference in new issue
Block a user