mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-16 01:56:24 +00:00
select space
This commit is contained in:
@ -150,6 +150,9 @@ class _CommunityStructureAreaState extends State<CommunityStructureArea> {
|
||||
onDoubleTap: () {
|
||||
_showEditSpaceDialog(visibleSpaces[index]);
|
||||
},
|
||||
onTap: (){
|
||||
_selectSpace(visibleSpaces[index]);
|
||||
},
|
||||
icon: visibleSpaces[index].icon ?? '',
|
||||
name: visibleSpaces[index].name,
|
||||
);
|
||||
@ -555,4 +558,9 @@ class _CommunityStructureAreaState extends State<CommunityStructureArea> {
|
||||
..translate(dx, dy)
|
||||
..scale(1.2);
|
||||
}
|
||||
|
||||
void _selectSpace(SpaceModel space){
|
||||
print(space.name);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user