You can Drag, rotate and scale up-down of any widget by using this package.

Example

How Yo Use

FloatingWidget only run in Stack.

Property

  • child - give widget that you can float,
  • rotate - for rotation on-off,
  • scaleUpDown - for Scale Up Down on-off,
Scaffold(
        appBar: AppBar(
          title: const Text("Floating Widget"),
        ),
        body: Stack(
          children: [
            FloatingWidget(child: const Text("Hello")),
            FloatingWidget(child: Container(color: Colors.red, width: 100, height: 100,)),
          ],
        )
    );

Additional information

if you want to contribute this package then follow and dm flutter_unity account on insta.
Thanks