useTransformationController function

TransformationController useTransformationController([
  1. Matrix4? value
])

Creates a TransformationController.

The controller is automatically disposed when the widget is unmounted.

Implementation

TransformationController useTransformationController([Matrix4? value]) {
  final c = TransformationController(value);
  onBeforeUnmount(c.dispose);
  return c;
}