RotatedBox(quarterTurns:turns, child: AspectRatio( aspectRatio: _controller.value.aspectRatio, child: Stack( alignment: Alignment.bottomCenter, children: [ VideoPlayer(_controller), _ControlsOverlay(controller: _controller,onClickCallback:(){ setState(() { if( turns==0) turns=1; else turns=0; }); }), VideoProgressIndicator(_controller, allowScrubbing: true), ], ),),
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter