rotated_view 1.0.0 rotated_view: ^1.0.0 copied to clipboard
A new Flutter package.
Flutter Rotated View #
A widget which can be rotated and can have virtual inertia and drag or a sensor that controls its rotation
Installation #
Add rotated_view
as a dependency in your pubspec.yaml file (how?).
Import Rotated View:
import 'package:rotated_view/rotated_view.dart';
usage #
Given a child Widget
:
@override
Widget build(BuildContext context) {
return Container(
child: RotatedView(
child: AssetImage("assets/Nightmare_MYS.png"),
)
);
}
Result: