We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
hideHandlesWhenNotResizable
1 parent c19eb80 commit 24b94e0Copy full SHA for 24b94e0
docs/handles.mdx
@@ -38,6 +38,22 @@ the interactive area is aligned to the center of box corner/side.
38
);
39
```
40
41
+## Handle visibility
42
+
43
+By default, handles will be hidden when `resizable` is set to `false`. This can be changed by setting
44
+`hideHandlesWhenNotResizable` to `false`.
45
46
+```dart title="Showing handles when box is not resizable"
47
+ TransformableBox(
48
+ rect: rect,
49
+ flip: flip,
50
+ resizable: false,
51
+ hideHandlesWhenNotResizable: false,
52
+ onChanged: (event) {...},
53
+ contentBuilder: (context, rect, flip) {...},
54
+ );
55
+```
56
57
## Customizing the default handles
58
59
By default, `TransformableBox` uses `DefaultCornerHandle` and `DefaultSideHandle` to build the handles. You can
0 commit comments