mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-08-25 15:39:41 +00:00
Uses Inkwell instead of Gesture Detector for canvas widgets.
This commit is contained in:
@ -22,7 +22,7 @@ class _CreateSpaceButtonState extends State<CreateSpaceButton> {
|
|||||||
return Tooltip(
|
return Tooltip(
|
||||||
margin: const EdgeInsets.symmetric(vertical: 24),
|
margin: const EdgeInsets.symmetric(vertical: 24),
|
||||||
message: 'Create a new space',
|
message: 'Create a new space',
|
||||||
child: GestureDetector(
|
child: InkWell(
|
||||||
onTap: () => SpaceDetailsDialogHelper.showCreate(
|
onTap: () => SpaceDetailsDialogHelper.showCreate(
|
||||||
context,
|
context,
|
||||||
communityUuid: widget.communityUuid,
|
communityUuid: widget.communityUuid,
|
||||||
|
@ -17,7 +17,7 @@ class SpaceCell extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return GestureDetector(
|
return InkWell(
|
||||||
onTap: onTap,
|
onTap: onTap,
|
||||||
child: Container(
|
child: Container(
|
||||||
width: 150,
|
width: 150,
|
||||||
|
Reference in New Issue
Block a user