feat(model): add named range targets

This commit is contained in:
dualfroz committed 2026-08-24 15:50:00 +02:00
1 parent 3da83885b5
commit 0bf8dcd043
1 file changed
+19
+19
View File
@@ -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);
}