Align(
alignment: AlignmentDirectional(0.0, 0.0),
child: Padding(
padding: EdgeInsets.all(14.0),
child: Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Align(
alignment:
AlignmentDirectional(0.71, -0.92),
child: FlutterFlowYoutubePlayer(
url: 'https://youtu.be/T9IT4Q_aMKk',
width: () {
if (MediaQuery.sizeOf(context).width <
kBreakpointSmall) {
return 110;
} else if (MediaQuery.sizeOf(context)
.width <
kBreakpointMedium) {
return 130;
} else if (kBreakpointLarge != null) {
return 150;
} else {
return 200;
}
}()
.toDouble(),
height: () {
if (MediaQuery.sizeOf(context).width <
kBreakpointSmall) {
return 110;
} else if (MediaQuery.sizeOf(context)
.width <
kBreakpointMedium) {
return 130;
} else if (kBreakpointLarge != null) {
return 150;
} else {
return 200;
}
}()
.toDouble(),
autoPlay: false,
looping: true,
mute: false,
showControls: true,
showFullScreen: true,
strictRelatedVideos: false,
),
),
The youtube video player widget enters full screen when the user double taps the video. I want the video to go full screen on single tap.
There is no specific action in the widget. The double tap property seems to be inbuilt in the widget.