gyroscope_widget 1.0.0

Flutter Android iOS

This library will allow you to move a little bit your widgets when you rotate your mobile phone.

Flutter Gyroscope Widget! #

Hey guys!

This library will allow you to move a little bit your widgets when you rotate your mobile phone.

Getting Start #

add in your pubspec.yaml

dependencies:
  gyroscope_widget: ^1.0.0

in your dart file, you can use like that.

Widget build(BuildContext context) {
	return Scaffold(
		body: Container(
			width: double.infinity,
			height: double.infinity,
			child: GyroscopeWidget(
				scaleMargin: 0.2,
				child: Image.network('https://picsum.photos/250?image=10',
					height: double.infinity,
					width: double.infinity,
					fit: BoxFit.fill,
				),
			),
		),
	);
}

Example #

Documentation #

GitHub Documentation

1
likes
80
pub points
35%
popularity

This library will allow you to move a little bit your widgets when you rotate your mobile phone.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

rafakenji23@gmail.com

License

unknown (LICENSE)

Dependencies

flutter, sensors

More

Packages that depend on gyroscope_widget